Bird
Raised Fist0

You design an emergency system that must alert multiple teams and log events reliably. Which design approach best ensures alerts are sent even if one alert service fails?

hard📝 Trade-off Q15 of Q15
LLD - Design — Elevator System
You design an emergency system that must alert multiple teams and log events reliably. Which design approach best ensures alerts are sent even if one alert service fails?
ASend alerts sequentially and stop on first failure
BSend alerts in parallel with retries and fallback logging
CSend alerts only to the primary team to reduce complexity
DLog events only after all alerts succeed
Step-by-Step Solution
Solution:
  1. Step 1: Understand reliability needs

    To ensure alerts reach multiple teams, sending in parallel avoids blocking on one failure.
  2. Step 2: Use retries and fallback logging

    Retries help recover from temporary failures; fallback logging records failures for later review.
  3. Final Answer:

    Send alerts in parallel with retries and fallback logging -> Option B
  4. Quick Check:

    Parallel + retries = reliable alerting [OK]
Quick Trick: Use parallel alerts with retries for reliability [OK]
Common Mistakes:
MISTAKES
  • Stopping alerts on first failure
  • Ignoring retries and fallback mechanisms
  • Reducing alert recipients to simplify

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes