SlideShare une entreprise Scribd logo
1  sur  26
Urbanesia & Microsoft
    Technologies


     SQL on PHP @ Microsoft
         Batista Harahap
      @tista / bango29.com
           7 July 2012
DESIRED AIMS
What Urbanesia wants
RELEVANCY
    &
 CONTEXT
TECHNICAL OVERVIEW
    Where do we come from and
where we want to be in the future
Single application/database Server
Technologies


•   CentOS Linux
•   MySQL
•   Sphinx Search
•   CodeIgniter (PHP)
•   Memcache
Caveats


•   20+ Seconds Queries in warm boots
•   Low concurrency
•   MySQL Query Performance
•   Horizontal scalability (Expensive)
•   Memory, CPU & Disk hungry
•   No separation of frontend & backend apps
What to do?
Application & Database Server Separation
What we did


• Recoded 60% of Urbanesia
• Initial process took ~1 month
• Query hunting to optimize MySQL queries
• Slimmed down to 18 controllers & 800 lines of
  core controller
• Separated database & application
• Built a comprehensive API for our backend
What we got


•   Increased concurrency
•   Insignificant warm boot time
•   1 month turned to 1 year to 2 years to …
•   A codebase that is difficult to maintain
•   Slow learning curves for new recruits
•   Lack of focus infrastructure wise
MICROSOFT TECHNOLOGIES
     What changed our perspective
     towards technology platforms
Challenges


•   Urbanesia have no prior Microsoft experience
•   Design Patterns
•   Best Practices
•   Choosing which technology
•   TCO and other expenses
Microsoft Open


• Open Source technologies on top of Microsoft
  platform
• Hands on consultation with trusted advisor
  from Infinys Cloud with Dondy Bappedyanto
• Introduced to .NET and SQL Server
Solution


• Complete backend redesign & development
  using .NET 4.0 with WebAPI
• Abstract layers within the design to support
  potential migration to SQL Server
• Instead of CRUD cache invalidations, we
  implemented monitors
Solution
BENEFITS
What do we get from this?
Benefits


• 33% productivity increase translating to only 2
  months development time for our backend
• More time to focus on the product itself
• Implementing best practices from day 0
• More structured approach to finally build BI
  solutions
• Invest more in memories, way cheaper than
  servers
CLOSING REMARKS
Our experiences combining
   the best of both worlds
Closing Remarks


• Microsoft’s backend technology is unmatched,
  especially the IDE (Visual Studio) is really
  powerful
• Open Source’s frontend technology is
  unmatched in terms of new tech adoption,
  developer awareness and community support
• Both combines into happy developers,
  product focus and business as usual
Urbanesia - Open Source & Microsoft

Contenu connexe

Tendances

MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017
MongoDB
 
Drupal 8 - what's new?
Drupal 8 - what's new?Drupal 8 - what's new?
Drupal 8 - what's new?
Edo
 
CipherCloud Microservice Meetup - Managing Services in a Lean Startup
CipherCloud Microservice Meetup - Managing Services in a Lean StartupCipherCloud Microservice Meetup - Managing Services in a Lean Startup
CipherCloud Microservice Meetup - Managing Services in a Lean Startup
Shobana Radhakrishnan
 
WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...
WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...
WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...
WSO2
 

Tendances (20)

Microservices
MicroservicesMicroservices
Microservices
 
MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017
 
Is Auth0 worth it vs. Build your own identity management
Is Auth0 worth it vs. Build your own identity managementIs Auth0 worth it vs. Build your own identity management
Is Auth0 worth it vs. Build your own identity management
 
DevOps and Splunk
DevOps and SplunkDevOps and Splunk
DevOps and Splunk
 
Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...
Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...
Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...
 
Drupal 8 - what's new?
Drupal 8 - what's new?Drupal 8 - what's new?
Drupal 8 - what's new?
 
CipherCloud Microservice Meetup - Managing Services in a Lean Startup
CipherCloud Microservice Meetup - Managing Services in a Lean StartupCipherCloud Microservice Meetup - Managing Services in a Lean Startup
CipherCloud Microservice Meetup - Managing Services in a Lean Startup
 
How to build the ultimate Custom Controls UI5 Library
How to build the ultimate Custom Controls UI5 LibraryHow to build the ultimate Custom Controls UI5 Library
How to build the ultimate Custom Controls UI5 Library
 
User Experience Prototyping
User Experience PrototypingUser Experience Prototyping
User Experience Prototyping
 
Redisnged ui webinar - 3.16.16
Redisnged ui   webinar - 3.16.16Redisnged ui   webinar - 3.16.16
Redisnged ui webinar - 3.16.16
 
Philly Sitecore User Group Meetup | Post-Symposium Knowledge Share
Philly Sitecore User Group Meetup | Post-Symposium Knowledge Share Philly Sitecore User Group Meetup | Post-Symposium Knowledge Share
Philly Sitecore User Group Meetup | Post-Symposium Knowledge Share
 
WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...
WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...
WSO2Con Asia 2014 - Increasing Development Velocity in a Connected Business E...
 
ML kit
ML kitML kit
ML kit
 
WSO2Con ASIA 2016: API Driven Innovation Within the Enterprise
WSO2Con ASIA 2016: API Driven Innovation Within the EnterpriseWSO2Con ASIA 2016: API Driven Innovation Within the Enterprise
WSO2Con ASIA 2016: API Driven Innovation Within the Enterprise
 
Will ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsWill ServerLess kill containers and Operations
Will ServerLess kill containers and Operations
 
Scale the Cloud - Skaluj chmurę
Scale the Cloud - Skaluj chmurę Scale the Cloud - Skaluj chmurę
Scale the Cloud - Skaluj chmurę
 
Azure Logic Apps
Azure Logic AppsAzure Logic Apps
Azure Logic Apps
 
WSO2Con EU 2016: How to Contribute to WSO2 : Community Process
WSO2Con EU 2016: How to Contribute to WSO2 :  Community ProcessWSO2Con EU 2016: How to Contribute to WSO2 :  Community Process
WSO2Con EU 2016: How to Contribute to WSO2 : Community Process
 
WSO2Con USA 2015: WSO2 Cloud - What it is, How it Works, and Where it’s Going
WSO2Con USA 2015: WSO2 Cloud - What it is, How it Works, and Where it’s GoingWSO2Con USA 2015: WSO2 Cloud - What it is, How it Works, and Where it’s Going
WSO2Con USA 2015: WSO2 Cloud - What it is, How it Works, and Where it’s Going
 
React native
React nativeReact native
React native
 

En vedette (9)

Lokal ID - Alpha
Lokal ID - AlphaLokal ID - Alpha
Lokal ID - Alpha
 
Chip Meetup V3 - Android Trends
Chip Meetup V3 - Android TrendsChip Meetup V3 - Android Trends
Chip Meetup V3 - Android Trends
 
SparxUp - Growth VS Scalability
SparxUp - Growth VS ScalabilitySparxUp - Growth VS Scalability
SparxUp - Growth VS Scalability
 
Startup Kitchen - Bandung Ventures Night 2011
Startup Kitchen - Bandung Ventures Night 2011Startup Kitchen - Bandung Ventures Night 2011
Startup Kitchen - Bandung Ventures Night 2011
 
Teknoup - Urbanesia Android
Teknoup - Urbanesia AndroidTeknoup - Urbanesia Android
Teknoup - Urbanesia Android
 
Bancakan v5 - Selling Me
Bancakan v5 - Selling MeBancakan v5 - Selling Me
Bancakan v5 - Selling Me
 
Urbanesia API v1.0
Urbanesia API v1.0Urbanesia API v1.0
Urbanesia API v1.0
 
Urbanesia - Development History
Urbanesia - Development HistoryUrbanesia - Development History
Urbanesia - Development History
 
Mediafusion - Company Profile
Mediafusion - Company ProfileMediafusion - Company Profile
Mediafusion - Company Profile
 

Similaire à Urbanesia - Open Source & Microsoft

Architecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering CultureArchitecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering Culture
ifnu bima
 

Similaire à Urbanesia - Open Source & Microsoft (20)

Architecting for Huper Growth and Great Engineering Culture
Architecting for Huper Growth and Great Engineering CultureArchitecting for Huper Growth and Great Engineering Culture
Architecting for Huper Growth and Great Engineering Culture
 
Architecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering CultureArchitecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering Culture
 
Les nouveautés ASP.NET 5 avec Visual Studio 2015
Les nouveautés ASP.NET 5 avec Visual Studio 2015Les nouveautés ASP.NET 5 avec Visual Studio 2015
Les nouveautés ASP.NET 5 avec Visual Studio 2015
 
Rakuten Ichiba_Rakuten Technology Conference 2016
Rakuten Ichiba_Rakuten Technology Conference 2016Rakuten Ichiba_Rakuten Technology Conference 2016
Rakuten Ichiba_Rakuten Technology Conference 2016
 
Serverless microservices
Serverless microservicesServerless microservices
Serverless microservices
 
Architectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyArchitectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and Consistently
 
Architectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyArchitectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and Consistently
 
Software Architecture and Architectors: useless VS valuable
Software Architecture and Architectors: useless VS valuableSoftware Architecture and Architectors: useless VS valuable
Software Architecture and Architectors: useless VS valuable
 
GraphDay Paris - CAST IMAGING - Un IRM pour les systèmes IT complexes
GraphDay Paris - CAST IMAGING - Un IRM pour les systèmes IT complexesGraphDay Paris - CAST IMAGING - Un IRM pour les systèmes IT complexes
GraphDay Paris - CAST IMAGING - Un IRM pour les systèmes IT complexes
 
AD1545 - Extending the XPages Extension Library
AD1545 - Extending the XPages Extension LibraryAD1545 - Extending the XPages Extension Library
AD1545 - Extending the XPages Extension Library
 
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
 
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps StoryDOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
 
Why to Cloud Native
Why to Cloud NativeWhy to Cloud Native
Why to Cloud Native
 
2 speed it powered by microsoft azure
2 speed it powered by microsoft azure2 speed it powered by microsoft azure
2 speed it powered by microsoft azure
 
2 Speed IT powered by Microsoft Azure and Minecraft
2 Speed IT powered by Microsoft Azure and Minecraft2 Speed IT powered by Microsoft Azure and Minecraft
2 Speed IT powered by Microsoft Azure and Minecraft
 
2 Speed IT powered by Microsoft Azure and Minecraft
2 Speed IT powered by Microsoft Azure and Minecraft2 Speed IT powered by Microsoft Azure and Minecraft
2 Speed IT powered by Microsoft Azure and Minecraft
 
Overview di MongoDB
Overview di MongoDBOverview di MongoDB
Overview di MongoDB
 
GECon2017_ Lean_architecturemanagement_Andrei Kavaleu
GECon2017_ Lean_architecturemanagement_Andrei KavaleuGECon2017_ Lean_architecturemanagement_Andrei Kavaleu
GECon2017_ Lean_architecturemanagement_Andrei Kavaleu
 
PHP Unconference Continuous Integration
PHP Unconference Continuous IntegrationPHP Unconference Continuous Integration
PHP Unconference Continuous Integration
 
Cincom Smalltalk Roadmap 2010
Cincom Smalltalk Roadmap 2010Cincom Smalltalk Roadmap 2010
Cincom Smalltalk Roadmap 2010
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Urbanesia - Open Source & Microsoft

  • 1. Urbanesia & Microsoft Technologies SQL on PHP @ Microsoft Batista Harahap @tista / bango29.com 7 July 2012
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 8. RELEVANCY & CONTEXT
  • 9. TECHNICAL OVERVIEW Where do we come from and where we want to be in the future
  • 11. Technologies • CentOS Linux • MySQL • Sphinx Search • CodeIgniter (PHP) • Memcache
  • 12. Caveats • 20+ Seconds Queries in warm boots • Low concurrency • MySQL Query Performance • Horizontal scalability (Expensive) • Memory, CPU & Disk hungry • No separation of frontend & backend apps
  • 14. Application & Database Server Separation
  • 15. What we did • Recoded 60% of Urbanesia • Initial process took ~1 month • Query hunting to optimize MySQL queries • Slimmed down to 18 controllers & 800 lines of core controller • Separated database & application • Built a comprehensive API for our backend
  • 16. What we got • Increased concurrency • Insignificant warm boot time • 1 month turned to 1 year to 2 years to … • A codebase that is difficult to maintain • Slow learning curves for new recruits • Lack of focus infrastructure wise
  • 17. MICROSOFT TECHNOLOGIES What changed our perspective towards technology platforms
  • 18. Challenges • Urbanesia have no prior Microsoft experience • Design Patterns • Best Practices • Choosing which technology • TCO and other expenses
  • 19. Microsoft Open • Open Source technologies on top of Microsoft platform • Hands on consultation with trusted advisor from Infinys Cloud with Dondy Bappedyanto • Introduced to .NET and SQL Server
  • 20. Solution • Complete backend redesign & development using .NET 4.0 with WebAPI • Abstract layers within the design to support potential migration to SQL Server • Instead of CRUD cache invalidations, we implemented monitors
  • 22. BENEFITS What do we get from this?
  • 23. Benefits • 33% productivity increase translating to only 2 months development time for our backend • More time to focus on the product itself • Implementing best practices from day 0 • More structured approach to finally build BI solutions • Invest more in memories, way cheaper than servers
  • 24. CLOSING REMARKS Our experiences combining the best of both worlds
  • 25. Closing Remarks • Microsoft’s backend technology is unmatched, especially the IDE (Visual Studio) is really powerful • Open Source’s frontend technology is unmatched in terms of new tech adoption, developer awareness and community support • Both combines into happy developers, product focus and business as usual