Design Alert Routing That Deduplicates Pages for Correlated Failures

Last updated: November 29, 2026

Quick Overview

Design the alerting system that evaluates metric rules, decides who to page, and groups the flood of alerts from a single root cause (such as a bad network switch) into one actionable incident.

Meta
System Design
Software Engineer
Meta
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the alerting system that evaluates metric rules, decides who to page, and groups the flood of alerts from a single root cause (such as a bad network switch) into one actionable incident.

Meta's production engineering culture puts heavy weight on on-call health. The interviewer checks that you can design rule evaluation at scale and, more importantly, reduce noise through grouping, dependencies, and suppression without hiding real problems.

What the Interviewer Expects
  • Design rule evaluation against the metrics store
  • Define alert states and hysteresis to avoid flapping
  • Group alerts by shared labels and dependency topology
  • Route to the right on-call rotation with escalation
  • Measure alert quality (actionable rate, time to acknowledge)
Key Topics to Cover
Rule evaluation
Hysteresis
Alert grouping
On-call routing
Dependency graphs
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you avoid paging 200 teams when one datacenter loses power?
  • How do you handle a rule that flaps every 2 minutes?
  • What happens if the alerting system itself is down?
  • How would you support maintenance windows?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: teams define rules like p99_latency{service=feed} > 400ms for 5m; the system evaluates them, opens incidents, pages the on-call, escalates if unacknowledged, and resolves when health...

High-Level Design
  • Rule store with owner, severity, labels, and routing.
  • Evaluators sharded by rule hash query the time-series store and produce alert states per series.
  • Alert state store tracks `pendi...

Submit Your Answer
Markdown supported