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
Top Podcasts
The Best New Comedy Podcast Right Now – June 2024The Best News Podcast Right Now – June 2024The Best New Business Podcast Right Now – June 2024The Best New Sports Podcast Right Now – June 2024The Best New True Crime Podcast Right Now – June 2024The Best New Joe Rogan Experience Podcast Right Now – June 20The Best New Dan Bongino Show Podcast Right Now – June 20The Best New Mark Levin Podcast – June 2024
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!