Real-time and Async Communication
Real-time and Asynchronous Communication (Stub)
Different protocols support push and decoupled processing (WebSockets, Server-Sent Events, message queues, event streams).
To Be Expanded
- When to use WebSockets vs polling
- Message broker basics (Kafka vs RabbitMQ)
- Event-driven architecture benefits & trade-offs
- Backpressure and consumer lag
Placeholder Comparison
| Pattern | Use Case | Notes |
|---|---|---|
| WebSocket | Live chat, dashboards | Bi-directional |
| SSE | Live feed updates | One-way server → client |
| Queue | Async job processing | Decouple latency |
| Stream | Ordered event log | Replay capability |
Maintainers: Include diagrams and reliability considerations.