DiscoverSystem DesignFacebook Timeline Interview
Facebook Timeline Interview

Facebook Timeline Interview

Update: 2020-09-16
Share

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


Comments (1)

Rajat Saxena

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!

Oct 22nd
Reply
loading
In Channel
Dropbox Interview

Dropbox Interview

2021-02-2832:40

Distributed Caches

Distributed Caches

2021-02-1426:05

Message Queues

Message Queues

2020-12-0631:07

SQL vs noSQL Databases

SQL vs noSQL Databases

2020-10-1730:14

Google Docs Interview

Google Docs Interview

2020-09-1543:47

00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Facebook Timeline Interview

Facebook Timeline Interview

Wes