1 / 26

Scaling for Web

Scaling for Web. Architecting HootSuite for 5 Million+ Users. About Us. Beier Cai Chief Architect beier.cai@hootsuite.com @ beiercai. Bill Monkman Lead Developer, Web bill.monkman@hootsuite.com @ bmonkman. Hoo’s HootSuite. Some Numbers. 5+ million Members

orinda
Download Presentation

Scaling for Web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scaling for Web • Architecting HootSuite for 5 Million+ Users

  2. About Us BeierCai Chief Architect beier.cai@hootsuite.com@beiercai Bill Monkman Lead Developer, Web bill.monkman@hootsuite.com@bmonkman

  3. Hoo’sHootSuite

  4. Some Numbers 5+ million Members 10+ million Social Networks 25+ million Streams 350+ million Messages Scheduled 1.3+ Billion Messages Sent 2+ Billion Page Views per month 2,000 Web Requests/sec

  5. Technologies PHP MySQL

  6. Technologies PHP Memcached MySQL

  7. Technologies PHP Gearman Memcached MySQL

  8. Technologies PHP Gearman Memcached MySQLMongoDB

  9. Technologies PHP GearmanZeroMQ Memcached MySQLMongoDB

  10. Technology Stack LAMP (Linux, Apache, MySQL, PHP) Scala Akka Python Clojure MongoDB Redis Memcached Gearman ZeroMQ RabbitMQ/AMQP jQuery/Backbone EC2 Cloud / CloudStack Jenkins / CruiseControl CloudFront CDN HAProxy/Nginx/Varnish Zend Statsd/Graphite LogStash ElasticSearch/Lucene Nagios/Munin/Sensu ZooKeeper

  11. Optimization Push processing up to the front-end, make your users’ computers into a distributed processing network. e.g. stream rendering Cache as much as possible, invalidate only when necessary. Sometimes features have to take a back-seat to performance/scalability. Look at profiler data. Watch query execution time, optimize when necessary with indexes, partitions, de-normalization, etc. Know what your weak spots are and keep a close eye on them.

  12. Optimization

  13. Optimization Case Study

  14. Optimization Case Study

  15. Scaling Dev Team Besides technical competency, we also value Passion Commitment Dedication Responsibility General Awesomeness

  16. Scaling Dev Team • Besides technical competency, we also value Passion Commitment Dedication Responsibility General Awesomeness

  17. Scaling Dev Team

  18. Team Work Entrepreneurial Communication Respect Trust

  19. Coding Practice Have a well defined coding standard within your dev team, and follow it! Clean and Readable Maintainable Reusable Scalable Commented

  20. Monitoring, Profiling & Logging

  21. Monitoring, Profiling & Logging

  22. Case Study

  23. Case Study

  24. Thank You! BeierCai beier.cai@hootsuite.comtwitter.com/beiercai Bill Monkman bill.monkman@hootsuite.comtwitter.com/bmonkman

More Related