Design: Fan-out Messaging System
Design the message delivery mechanism focusing on fan-out strategies. Out of scope: message content creation, user authentication, and UI design.
Functional Requirements
Non-Functional Requirements
Jump into concepts and practice - no test required
Client
|
v
API Servers
|
v
Message Queue / Broker
|
+-------------------+
| |
Fan-out Workers Datastore (Messages, User Feeds)
| |
+-------------------+
|
v
Cache
|
v
Clients (Receivers)fan-out on write in system design?fan-out on read?