How are you storing user to connection object?
|
|
2
|
25
|
July 27, 2022
|
Sharding on UserId? How does the other user get their messages?
|
|
6
|
151
|
July 10, 2022
|
Database design of Facebook Messenger
|
|
15
|
6865
|
March 26, 2022
|
Data Sharding with Many-To-Many relationship
|
|
1
|
113
|
March 7, 2022
|
How do we assume a modern web server can handle 50k concurrent connections?
|
|
9
|
2118
|
February 17, 2022
|
Sequence number will determine the exact ordering of messages for each user
|
|
2
|
167
|
February 4, 2022
|
How does the messenger maintain the sequencing of the messages?
|
|
32
|
7781
|
February 4, 2022
|
Missing Database Design!
|
|
3
|
95
|
January 11, 2022
|
Use in-memory db to forward messages?
|
|
1
|
70
|
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
|
116
|
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
|
110
|
October 25, 2021
|
Server does not need to keep track of the pending messages
|
|
1
|
94
|
October 22, 2021
|
Whenever a user comes online, the server can always broadcast that status
|
|
0
|
75
|
October 20, 2021
|
Receiving a message for a user who has gone offline
|
|
0
|
68
|
October 18, 2021
|
Bandwidth Estimation
|
|
0
|
74
|
October 18, 2021
|
Timestamp vs. sequence number
|
|
1
|
182
|
October 13, 2021
|
Which server does the load balancer route the sender to
|
|
1
|
80
|
October 12, 2021
|
Long polling, why not send to user B chat server directly?
|
|
10
|
543
|
October 11, 2021
|
Benefit of hbase over mongo
|
|
1
|
104
|
October 8, 2021
|
The hash table for {userID, ConnectionObj}
|
|
2
|
117
|
October 1, 2021
|
Transient Message Store is missing in the detailed design
|
|
0
|
163
|
April 10, 2021
|
Why use Hbase when we need consistency?
|
|
0
|
178
|
February 20, 2021
|
Not clear how client will know updates of status of friends?
|
|
0
|
155
|
December 26, 2020
|
The Data Partitioning scheme is making way too many shards
|
|
0
|
174
|
December 23, 2020
|
Facebook messenger asked at interview
|
|
12
|
7409
|
December 22, 2020
|
How server handle messages from different users chatting with same user?
|
|
2
|
347
|
September 21, 2020
|
How the DB schema will look like for storing messages for each users?
|
|
0
|
213
|
September 20, 2020
|
Message handling question
|
|
1
|
412
|
September 11, 2020
|
Why cannot server-sent-events be used in place of Long Polling or WebSockets?
|
|
1
|
607
|
September 11, 2020
|
Basic DB design
|
|
0
|
197
|
September 1, 2020
|