Users post short messages. Each user's home feed shows recent posts from people they follow. Reads dominate writes by orders of magnitude, and feed generation should be fast.
Requirements
·Serving a user's feed should be fast even with millions of users
·New posts should be delivered to followers without every read re-scanning all posts
·Media (images/video) attached to posts needs durable storage
·The system should tolerate a spike in write traffic (e.g. a viral post) without falling over
·Serving a user's feed should be fast even with millions of users
·New posts should be delivered to followers without every read re-scanning all posts
·Media (images/video) attached to posts needs durable storage
·The system should tolerate a spike in write traffic (e.g. a viral post) without falling over