Scalable Web Architectures With Ruby And Amazon S3 13671

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.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites

    Scalable Web Architectures With Ruby And Amazon S3 13671 - 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, 2 years ago

    custom

    1496 views, 2 favs, 1 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1496
      • 1495 on SlideShare
      • 1 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 0
    Most viewed embeds
    • 1 views on http://marcosxanxere.blogspot.com

    more

    All embeds
    • 1 views on http://marcosxanxere.blogspot.com

    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?