Urbanesia - Open Source & Microsoft

  • 702 views
Uploaded on

Combining the best of both worlds into Urbanesia's infrastructure :)

Combining the best of both worlds into Urbanesia's infrastructure :)

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
702
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
5
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Urbanesia & Microsoft Technologies SQL on PHP @ Microsoft Batista Harahap @tista / bango29.com 7 July 2012
  • 2. DESIRED AIMSWhat Urbanesia wants
  • 3. RELEVANCY & CONTEXT
  • 4. TECHNICAL OVERVIEW Where do we come from andwhere we want to be in the future
  • 5. Single application/database Server
  • 6. Technologies• CentOS Linux• MySQL• Sphinx Search• CodeIgniter (PHP)• Memcache
  • 7. 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
  • 8. What to do?
  • 9. Application & Database Server Separation
  • 10. 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
  • 11. 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
  • 12. MICROSOFT TECHNOLOGIES What changed our perspective towards technology platforms
  • 13. Challenges• Urbanesia have no prior Microsoft experience• Design Patterns• Best Practices• Choosing which technology• TCO and other expenses
  • 14. 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
  • 15. 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
  • 16. Solution
  • 17. BENEFITSWhat do we get from this?
  • 18. 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
  • 19. CLOSING REMARKSOur experiences combining the best of both worlds
  • 20. 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