Facebook Timeline Interview
Update: 2020-09-16
Description
Wes asks Kevin to design the Facebook/Twitter Timeline with an emphasis on scaling to a large number of users.
I'd encourage you to pause where relevant to try to think through these designs yourself - it really helps the content sink in.
Helpful Links
RabbitMQ quick start documentation - https://www.rabbitmq.com/getstarted.html
Apache Kafka introductinon - https://kafka.apache.org/intro
In Channel




Question: can something like Kafka take care of ALL the requirements for this use case? - it can handle large volume of data - it is resilient and can handle failures - each user could be a subscriber and when they login they just pull the unread statuses in their queue - each user's queue can handle chronology as well - for the celebrity case, it is a matter of heavy writes but eventually the message queue will get around to it Let me know your thoughts!