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.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + coolbuddy coolbuddy 3 years ago
    Hey Jon,
    I missed the camp today but definitely likin wot i just read i'll definitely google those topics...

    Great work man...

Post a comment
Embed Video
Edit your comment Cancel

36 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

+ Jonathan BoutelleJonathan Boutelle, 3 years ago

custom

17122 views, 36 favs, 13 embeds more stats

Barcamp Bangalore presentation

More Info

CC Attribution License

Go to text version
  • Total Views 17122
    • 16820 on SlideShare
    • 302 from embeds
  • Comments 1
  • Favorites 36
  • Downloads 402
Most viewed embeds
  • 170 views on http://poorbuthappy.com
  • 86 views on http://www.jonathanboutelle.com
  • 15 views on http://www.poorbuthappy.com
  • 10 views on http://www.itvidya.com
  • 5 views on https://s3.amazonaws.com

more

All embeds
  • 170 views on http://poorbuthappy.com
  • 86 views on http://www.jonathanboutelle.com
  • 15 views on http://www.poorbuthappy.com
  • 10 views on http://www.itvidya.com
  • 5 views on https://s3.amazonaws.com
  • 5 views on http://webdevcampsp.ning.com
  • 4 views on http://www.techbizmedia.com
  • 2 views on http://www.filescon.com
  • 1 views on http://wildfire.gigya.com
  • 1 views on http://c17-cne-admin-bld1.cnet.com:8081
  • 1 views on http://www.oplahol.com
  • 1 views on http://www.thoughtbag.com
  • 1 views on http://www.slideshare.net

less

Flagged as inappropriate Flag as inappropriate
Flag as innappropriate

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

Cancel

Categories