Recall & Review
beginner
What is an online presence system?
An online presence system shows if a user is currently active, idle, or offline in a digital platform like chat apps or social networks.
Click to reveal answer
intermediate
Why is scalability important in an online presence system?
Scalability ensures the system can handle many users updating their status at the same time without slowing down or crashing.
Click to reveal answer
intermediate
What role does a heartbeat mechanism play in an online presence system?
A heartbeat is a regular signal sent by a user’s device to confirm they are still online, helping the system update their status accurately.
Click to reveal answer
intermediate
Name a common data store used for fast online presence lookups.
In-memory databases like Redis are often used because they provide quick read and write access to user status data.
Click to reveal answer
advanced
How does an online presence system handle users who suddenly disconnect?
It uses timeouts and missing heartbeats to mark users as offline after a short delay to avoid false offline status.
Click to reveal answer
What does an online presence system primarily track?
✗ Incorrect
The main purpose is to track if users are online, offline, or idle.
Which component helps detect if a user is still connected in real-time?
✗ Incorrect
Heartbeat signals confirm the user is still connected.
Which data store is best for fast presence status updates?
✗ Incorrect
Redis is an in-memory store optimized for speed.
What happens if a user stops sending heartbeats?
✗ Incorrect
Missing heartbeats trigger offline status after a delay.
Why should an online presence system be scalable?
✗ Incorrect
Scalability ensures smooth operation with many users.
Explain how an online presence system detects and updates user status in real-time.
Think about how the system knows if a user is still connected or not.
You got /4 concepts.
Describe key design considerations to make an online presence system scalable and reliable.
Focus on performance and accuracy under load.
You got /4 concepts.
