SlideShare a Scribd company logo
Urbanesia & Microsoft
    Technologies


     SQL on PHP @ Microsoft
         Batista Harahap
      @tista / bango29.com
           7 July 2012
Urbanesia - Open Source & Microsoft
Urbanesia - Open Source & Microsoft
Urbanesia - Open Source & Microsoft
Urbanesia - Open Source & Microsoft
Urbanesia - Open Source & Microsoft
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

More Related Content

PPTX
SenchaCon 2016: Ext JS App Modernization Showcase - Richard Milone
PPTX
How to be a cloud architect v 0.3
PPTX
DevBoss May 2019 Presentation
PDF
Shift Remote AI: Behind the Scenes Development in an AI Company - Matija Ilij...
PDF
Building & scaling a live streaming mobile platform - Gr8 road to fame
PDF
Real-time Operational Intelligence for machine data
PDF
WSO2Con EU 2016: Integrate APIM to Third-party Tools: Creating an Agent for ELK
PDF
Policies and Procedures Boring is Awesome
SenchaCon 2016: Ext JS App Modernization Showcase - Richard Milone
How to be a cloud architect v 0.3
DevBoss May 2019 Presentation
Shift Remote AI: Behind the Scenes Development in an AI Company - Matija Ilij...
Building & scaling a live streaming mobile platform - Gr8 road to fame
Real-time Operational Intelligence for machine data
WSO2Con EU 2016: Integrate APIM to Third-party Tools: Creating an Agent for ELK
Policies and Procedures Boring is Awesome

What's hot (20)

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

Viewers also liked (9)

PDF
Lokal ID - Alpha
KEY
Chip Meetup V3 - Android Trends
KEY
SparxUp - Growth VS Scalability
KEY
Startup Kitchen - Bandung Ventures Night 2011
PPT
Teknoup - Urbanesia Android
PDF
Bancakan v5 - Selling Me
PPTX
Urbanesia API v1.0
PPTX
Urbanesia - Development History
PPTX
Mediafusion - Company Profile
Lokal ID - Alpha
Chip Meetup V3 - Android Trends
SparxUp - Growth VS Scalability
Startup Kitchen - Bandung Ventures Night 2011
Teknoup - Urbanesia Android
Bancakan v5 - Selling Me
Urbanesia API v1.0
Urbanesia - Development History
Mediafusion - Company Profile
Ad

Similar to Urbanesia - Open Source & Microsoft (20)

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

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Electronic commerce courselecture one. Pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
sap open course for s4hana steps from ECC to s4
Electronic commerce courselecture one. Pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MYSQL Presentation for SQL database connectivity
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
20250228 LYD VKU AI Blended-Learning.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Urbanesia - Open Source & Microsoft

  • 1. Urbanesia & Microsoft Technologies SQL on PHP @ Microsoft Batista Harahap @tista / bango29.com 7 July 2012
  • 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