Design Camera Health Monitoring
Design Camera Health Monitoring System
Design a system capable of monitoring the health status of 10 million cameras. Each camera transmits a heartbeat signal once every minute.
Health Definition
A camera is considered healthy if the system has received at least one heartbeat from it within the last 2 minutes. Otherwise, it is considered unhealthy.
Core Requirements
The system must continuously report the total number of healthy and unhealthy devices in near real-time.
Discussion Points
Candidates should be prepared to discuss the following aspects of their design:
- The architecture for ingesting heartbeats.
- The chosen storage solution for maintaining device state.
- Strategies for computing healthy and unhealthy counts with near real-time accuracy.
- Approaches to handle common data challenges such as duplicate heartbeats, late-arriving events, and out-of-order messages.
- Considerations for scalability, fault tolerance, and comprehensive monitoring of the system itself.
AI interview prep
Core dilemma
Managing the dynamic state of 10 million devices with high-volume, time-sensitive heartbeats, and deriving real-time, accurate aggregate counts from this state, all while ensuring fault tolerance, scalability, and cost-efficiency.
3 tradeoffs and 3 stress tests locked
Interview prep
Unlock the interviewer X-Ray rubric, tradeoff matrix, stress tests, clarifying questions, and key concepts.
Design Camera Health Monitoring
Design Camera Health Monitoring System
Design a system capable of monitoring the health status of 10 million cameras. Each camera transmits a heartbeat signal once every minute.
Health Definition
A camera is considered healthy if the system has received at least one heartbeat from it within the last 2 minutes. Otherwise, it is considered unhealthy.
Core Requirements
The system must continuously report the total number of healthy and unhealthy devices in near real-time.
Discussion Points
Candidates should be prepared to discuss the following aspects of their design:
- The architecture for ingesting heartbeats.
- The chosen storage solution for maintaining device state.
- Strategies for computing healthy and unhealthy counts with near real-time accuracy.
- Approaches to handle common data challenges such as duplicate heartbeats, late-arriving events, and out-of-order messages.
- Considerations for scalability, fault tolerance, and comprehensive monitoring of the system itself.