Building a scalable infrastructure for social mobile web apps

1,926 views
1,676 views

Published on

Building a scalable infrastructure for social mobile web apps

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,926
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
26
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building a scalable infrastructure for social mobile web apps

  1. 1. Building a scalable infrastructure for social mobile/web apps Ngon Pham http://www.ngonpham.com
  2. 2. Content • System Architecture • Database • Web Server • Web/Mobile Apps • Demo
  3. 3. System Architecture Web Server Database Browser Mobile
  4. 4. Database • Relational Database: MySQL Cluster, PostgreSQL • NoSQL: MongoDB, Cassandra, FlockDB • 3rd party: Google AppEngine, Amazon SimpleDB
  5. 5. Database • MySQL Cluster • Strength • Relational Database • Many support tools • Weakness • Difficult to extend (add columns) • Complex architecture
  6. 6. Database
  7. 7. Database • MongoDB (NoSQL) • Strength • Implement some relational database features • Easy to extend (add columns) • Simple architecture • Weakness • Newcomer • Lack support tools
  8. 8. Database • Google AppEngine • Strength • Transparent scalability to developer • Easy maintenance • Weakness • Lock-in data • Lack many tools support
  9. 9. Web Server • Apache HTTP Server • PHP • Python • … • Apache Tomcat • Java
  10. 10. Web Server Tomcat Tomcat Tomcat Tomcat Tomcat Load balancer
  11. 11. • Web Apps • Google Web Toolkit • Mobile Apps • iPhone • Android Mobile Web/Apps Web Server Web, Mobile JSON
  12. 12. Demos • MongoDB • Tomcat with Load-Balancer • Amazon EC2 • Google App Engine
  13. 13. Thank you!

×