Scaling Twitter - Railsconf 2007

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.

5 comments

Comments 1 - 5 of 5 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

35 Favorites & 1 Group

Scaling Twitter - Railsconf 2007 - Presentation Transcript

  1. Scaling Twitter Alex & Britt (from Twitter)
  2. Preconceived notions.
  3. The story.
  4. So, what happened?
  5. What we did.
  6. More boxes. Not so many then. But now... ‣ Mongrels across 19 cores. ‣ Message processing/delivery across 16 cores. ‣ Jabber across 2 cores. ‣ MySQL on one big 8 core box. ‣ 16GB+ for memcache across a bunch of ‣ machines. ‣ 32 cores total.
  7. That’s a lot.
  8. Why? 200 - 300 connections per second. ‣ Spiking at 800 connections per second. ‣ We’ve done 11,000 connections per second. ‣ MySQL has spiked to 2,400 queries per second. ‣ Alexa says we have a whole mess o’ traffic, and ‣ they’re not even seeing the API traffic.
  9. memcache.
  10. memcache.
  11. memcache.
  12. Cache the hell out of everything.
  13. Denormalize.
  14. find(:all, :conditions => \"substring( truncate(id,0),-2,1) = #{@fugly_dist_idx}\", :limit => 10)
  15. Starling.
  16. Community.
  17. YOU CAN HAS QUESTIONS

Alex PayneAlex Payne, 3 years ago

custom

15209 views, 35 favs, 11 embeds more stats

A conversational presentation on Twitter's scaling more

More Info

© All Rights Reserved

Go to text version
  • Total Views 15209
    • 15186 on SlideShare
    • 23 from embeds
  • Comments 5
  • Favorites 35
  • Downloads 436
Most viewed embeds
  • 5 views on http://www.slideshow.com
  • 3 views on http://www.jasonslater.co.uk
  • 3 views on http://youredoingitwrong.mee.nu
  • 3 views on http://www.lonerunners.net
  • 3 views on http://www.twitteritaly.com

more

All embeds
  • 5 views on http://www.slideshow.com
  • 3 views on http://www.jasonslater.co.uk
  • 3 views on http://youredoingitwrong.mee.nu
  • 3 views on http://www.lonerunners.net
  • 3 views on http://www.twitteritaly.com
  • 1 views on http://multiversenews.com
  • 1 views on http://a2.vox-data.com
  • 1 views on http://www.marketing-podcast-nl.com
  • 1 views on http://64.233.183.104
  • 1 views on http://www.slideshare.net
  • 1 views on http://twitter.pivari.com

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