How are you storing user to connection object?
|
|
3
|
63
|
November 1, 2022
|
Linked List / Graph Data Storage for Messages/Newsfeed
|
|
2
|
29
|
September 14, 2022
|
Curious about pub-sub vs connection oriented
|
|
2
|
49
|
September 7, 2022
|
Sharding on UserId? How does the other user get their messages?
|
|
6
|
233
|
July 10, 2022
|
Database design of Facebook Messenger
|
|
15
|
8109
|
March 26, 2022
|
Data Sharding with Many-To-Many relationship
|
|
1
|
136
|
March 7, 2022
|
How do we assume a modern web server can handle 50k concurrent connections?
|
|
9
|
2707
|
February 17, 2022
|
Sequence number will determine the exact ordering of messages for each user
|
|
2
|
231
|
February 4, 2022
|
How does the messenger maintain the sequencing of the messages?
|
|
32
|
8470
|
February 4, 2022
|
Missing Database Design!
|
|
3
|
122
|
January 11, 2022
|
Use in-memory db to forward messages?
|
|
1
|
91
|
November 26, 2021
|
If we store different messages of a user on separate database shards, fetching a range of messages of a chat would be very slow
|
|
3
|
137
|
November 4, 2021
|
Cannot use NoSQL like MongoDB because we cannot afford to read/write a row from the database every time a user receives/sends a message
|
|
1
|
142
|
October 25, 2021
|
Server does not need to keep track of the pending messages
|
|
1
|
113
|
October 22, 2021
|
Whenever a user comes online, the server can always broadcast that status
|
|
0
|
93
|
October 20, 2021
|
Receiving a message for a user who has gone offline
|
|
0
|
88
|
October 18, 2021
|
Bandwidth Estimation
|
|
0
|
106
|
October 18, 2021
|
Timestamp vs. sequence number
|
|
1
|
323
|
October 13, 2021
|
Which server does the load balancer route the sender to
|
|
1
|
100
|
October 12, 2021
|
Long polling, why not send to user B chat server directly?
|
|
10
|
599
|
October 11, 2021
|
Benefit of hbase over mongo
|
|
1
|
174
|
October 8, 2021
|
The hash table for {userID, ConnectionObj}
|
|
2
|
140
|
October 1, 2021
|
Transient Message Store is missing in the detailed design
|
|
0
|
190
|
April 10, 2021
|
Why use Hbase when we need consistency?
|
|
0
|
194
|
February 20, 2021
|
Not clear how client will know updates of status of friends?
|
|
0
|
176
|
December 26, 2020
|
The Data Partitioning scheme is making way too many shards
|
|
0
|
188
|
December 23, 2020
|
Facebook messenger asked at interview
|
|
12
|
7717
|
December 22, 2020
|
How server handle messages from different users chatting with same user?
|
|
2
|
378
|
September 21, 2020
|
How the DB schema will look like for storing messages for each users?
|
|
0
|
239
|
September 20, 2020
|
Message handling question
|
|
1
|
438
|
September 11, 2020
|