LLD - Design — Food Delivery System
You are designing a notification system to alert all parties involved in a project. Which design choice best ensures scalability and reliability?
- A. Use a single server to send notifications sequentially to all parties.
- B. Send notifications only to a random subset of parties to reduce load.
- C. Store all notifications in a database and send them manually when needed.
- D. Use a message queue to distribute notification tasks to multiple worker servers.
