Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 10
Chat app: how is online presence (green dot) kept accurate without heavy load?
A
Presence is computed once per day
B
Check if the user's IP responds to ping
C
Write to the DB on every keystroke
D
Clients send heartbeats; presence entries have a TTL; updates are pushed only to interested contacts, often batched