Last active 5 days ago
interview
Interview prep notes
0
0
1
System Design Interview: Designing a Metrics Monitoring and Alerting System
Think Prometheus or Datadog: millions of time series, cheap writes, fast range queries, and alerts that fire reliably.
Requirements
- Collect metrics like CPU, latency percentiles and request counts from 100k hosts every 10 seconds.
- Dashboards query the last hour to the last year.
- Alert rules ("p99 latency > 500 ms for 5 minutes") notify on-call within a minute.