Scaling Twitter: Making Twitter 10000 Percent Faster | High S...
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Saved by 37 people (-7 private), first by anonymouse user on 2007-09-14
- Kaspar_ru on 2009-08-10 - Tags twitter , toread
- Alfredwesterveld on 2009-06-09 - Tags unread
- Goodday on 2009-04-04 - Tags twitter , architecture , scaling , design
- Gotgenes on 2009-01-27 - Tags web , ruby , twitter , scalability , rails
- Billchristian on 2008-07-22 - Tags architecture
Public Sticky notes
Highlighted by joel
Highlighted by vincent
Highlighted by fulvius
Highlighted by inouemak
Highlighted by inouemak
Highlighted by inouemak
Highlighted by inouemak
- For example, if getting a count is slow, you can memoize the count into memcache in a millisecond.
- Getting your friends status is complicated. There are security and other issues. So rather than doing a query, a friend's status is updated in cache instead. It never touches the database. This gives a predictable response time frame (upper bound 20 msecs).
- ActiveRecord objects are huge so that's why they aren't cached. So they want to store critical attributes in a hash and lazy load the other attributes on access.
Highlighted by wade
Highlighted by wade
- Distributed queues were made to survive system crashes by writing them to disk. Other big websites take this simple approach as well.
Highlighted by wade
- A lot of down time because people crawl the site and add everyone as friends. 9000 friends in 24 hours. It would take down the site.
Highlighted by wade
Highlighted by wade
- A lot of down time because people crawl the site and add everyone as friends. 9000 friends in 24 hours. It would take down the site.
- Build tools to detect these problems so you can pinpoint when and where they are happening.
Highlighted by fulvius
- A lot of down time because people crawl the site and add everyone as friends. 9000 friends in 24 hours. It would take down the site.
- Build tools to detect these problems so you can pinpoint when and where they are happening.
- Be ruthless. Delete them as users.
Highlighted by fulvius
Highlighted by wade
Highlighted by wade
Highlighted by fulvius
Highlighted by fulvius
Highlighted by fulvius


Public Comment