- High Scalability - All Time Favorites
- How Shopify Scales To Handle Flash Sales From Kanye West And The Superbowl (2015)
- Instagram Architecture Update: What’s New With Instagram? (2012)
- Why Are Facebook, Digg, And Twitter So Hard To Scale?
(2009)
- Pull on demand -
“To find out if one of your friends has added a new favorite band Facebook
actually queries all your friends to find what’s new. They can get away
with this but because of their awesome infrastructure.”
- Difficult when there are lots of followers. FB has a 5000 friend limit.
- Push on change - when user makes a change, it is pushed out to all followers.
- changes are stored in each user’s account
- works better for large number of followers, eg. Twitter, Digg.
- Pull on demand -
“To find out if one of your friends has added a new favorite band Facebook
actually queries all your friends to find what’s new. They can get away
with this but because of their awesome infrastructure.”
- High Scalability: Google Architecture (2008)
- What are the scaling issues to keep in mind while developing a social network feed?
- Scaling Online Social Networks without Pains (PDF)
Rails
Shopify