SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

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