Design a website monitoring service that checks customer websites, detects outages or high latency, and alerts users when their sites fail health checks.
Constraints & Assumptions:
- Customers register URLs and alert destinations.
- Checks should run periodically from multiple regions.
- The service should track uptime and latency.
- False positives should be minimized.
Clarifying Questions to Ask:
- What check intervals and latency targets are required?
- Do we need HTTP only or TCP/DNS checks too?
- How many URLs and regions?
- What alert channels are needed?
- How many consecutive failures should trigger an alert?
AI interview prep
Core dilemma
Balancing the need for frequent, reliable checks from diverse locations against the operational cost and complexity of managing a distributed monitoring infrastructure, while also ensuring timely and accurate alerting without overwhelming users.
3 tradeoffs and 2 stress tests locked
Interview prep
Unlock the interviewer X-Ray rubric, tradeoff matrix, stress tests, clarifying questions, and key concepts.
Design a website monitoring service that checks customer websites, detects outages or high latency, and alerts users when their sites fail health checks.
Constraints & Assumptions:
- Customers register URLs and alert destinations.
- Checks should run periodically from multiple regions.
- The service should track uptime and latency.
- False positives should be minimized.
Clarifying Questions to Ask:
- What check intervals and latency targets are required?
- Do we need HTTP only or TCP/DNS checks too?
- How many URLs and regions?
- What alert channels are needed?
- How many consecutive failures should trigger an alert?