Scalable Web Architectures (w/ Ruby and Amazon S3)

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

3 comments

Comments 1 - 3 of 3 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

58 Favorites & 3 Groups

Scalable Web Architectures (w/ Ruby and Amazon S3) - Presentation Transcript

  1. Scalable Web Architectures with Ruby and Amazon S3 or: what we learned building SlideShare
  2. jonathanboutelle.com
  3. Scalability?
  4. Cheap hardware for parallelizable tasks
  5. Parallelizing web serving Load Balancer ($$$) Web Server Web Server Web Server
  6. Sessions? Load Balancer ($$$) Client DataBase Web Server Web Server Web Server cache cache cache 1 2 3 4
  7. Scaling a Rails Boxen cache Web Server App Server
  8. cache LightHttp Mongrel Mongrel Mongrel
  9. cache LightHttp Mongrel Mongrel Mongrel Pound
  10. cache LightHttp Mongrel Mongrel Mongrel backgroundrb Pound
  11. cache LightHttp Mongrel Mongrel Mongrel backgroundrb Pound Camping Camping Camping
  12. cache LightHttp Mongrel Mongrel Mongrel backgroundrb Pound Camping Camping Camping monit
  13. Vs.
  14. Asynchronous Processing File Processer File Processor File Processor dbase job2 job2 job1 …
  15. Database reads ;-> master slave1 slave2 1:OK 2:OK 3: Down X Write / Read Read Write writes writes writes
  16. Database reads ;-> master slave1 slave2 1:OK 2:OK 3: Down X Write / Read Read Write cache writes writes writes
  17. Database writes ;-> master slave1 slave2 1:OK 2:OK 3: Down X Write / Read Read Write cache writes writes writes
  18. Database writes ;-< slave2 slave1 Master 1 slave2 slave1 Master 1
  19. MySQL Clustering Mirror 2 Box 2 Box 1 Mirror 1
  20. Serving Static Files cache cache cache proxy
  21. Saving Static Files Data 1 Data 2 Data 3 proxy A B B C A C
  22. S3!
    • What is it
    • scaling (technically)
    • scaling (economically)
  23. Storage+Bandwidth Costs (failure)
  24. Storage / Bandwidth Costs (Success)
  25. Cash Flow
    • 1 st of the month – AMZN Bill
    • 22 nd of the month – Google AdWords Payment
    • 28 th of the month –Credit Card Bill
  26. Things to google…
    • Mongrel
    • Monit
    • LightHttp
    • Pound / Pen
    • Nagios
    • MogileFS
  27. Thanks! jonathanboutelle.com slideshare.net uzanto.com themindcanvas.com We are hiring…

+ Jonathan BoutelleJonathan Boutelle, 3 years ago

custom

112562 views, 58 favs, 18 embeds more stats

What we learned from building slideshare

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 112562
    • 112307 on SlideShare
    • 255 from embeds
  • Comments 3
  • Favorites 58
  • Downloads 616
Most viewed embeds
  • 141 views on http://www.webforth.com
  • 50 views on http://www.itvidya.com
  • 15 views on http://webforth.com
  • 14 views on http://rapd.wordpress.com
  • 8 views on http://www.filescon.com

more

All embeds
  • 141 views on http://www.webforth.com
  • 50 views on http://www.itvidya.com
  • 15 views on http://webforth.com
  • 14 views on http://rapd.wordpress.com
  • 8 views on http://www.filescon.com
  • 7 views on http://wmworia.vodpod.com
  • 4 views on http://vodpod.com
  • 3 views on http://www.lonerunners.net
  • 2 views on http://www.carocean.co.uk
  • 2 views on http://chatter.citcat.com:3002
  • 2 views on http://www.slidecrunch.com
  • 1 views on http://www.rapidshareeasy.com
  • 1 views on http://www.rapidsharefresh.com
  • 1 views on http://www.rapidsharefast.com
  • 1 views on http://tutorialart.com
  • 1 views on http://www.o53.net
  • 1 views on http://wmworia.wordpress.com
  • 1 views on http://www.techpresentations.org

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories