Bird
0
0

Which architectural approach best supports a notification system designed for millions of users with customizable delivery channels and ensures fault tolerance?

hard📝 Trade-off Q8 of 15
LLD - Design — Library Management System
Which architectural approach best supports a notification system designed for millions of users with customizable delivery channels and ensures fault tolerance?
ASingle server with multi-threaded notification handlers
BMonolithic application with synchronous notification processing
CMicroservices with event-driven architecture and distributed message queues
DDirect database triggers sending notifications synchronously
Step-by-Step Solution
Solution:
  1. Step 1: Understand scalability needs

    Handling millions of users requires scalable, decoupled components.
  2. Step 2: Choose event-driven microservices

    Microservices allow independent scaling; event-driven design with distributed queues ensures asynchronous, fault-tolerant delivery.
  3. Final Answer:

    Microservices with event-driven architecture and distributed message queues -> Option C
  4. Quick Check:

    Event-driven microservices scale and tolerate faults best [OK]
Quick Trick: Use event-driven microservices for scalable, fault-tolerant notifications [OK]
Common Mistakes:
MISTAKES
  • Using monolithic synchronous processing limits scalability
  • Relying on single server causes bottlenecks and single point of failure
  • Database triggers are synchronous and not scalable

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes