Appearance
14.13 Real-Time Systems & Webhook Dispatch
1. Webhooks vs SSE vs WebSockets
| Architecture | Protocol | Direction | Statefulness | Primary Use Case in OmniPost |
|---|---|---|---|---|
| Webhooks | HTTP POST | Server-to-Server | Stateless | Outbound event delivery to microservices |
| Server-Sent Events | HTTP Streaming | Server-to-Client | Lightweight | Live delivery feed streaming to console |
| WebSockets | Bi-directional TCP | Full Duplex | Stateful connection | Interactive chat and bidirectional consoles |
2. Say It Out Loud
"For real-time outbound delivery, OmniPost uses asynchronous HTTP webhooks signed with HMAC-SHA256 headers. For our operations console, we currently poll summary endpoints, with an immediate roadmap item to implement Server-Sent Events, streaming live delivery events over a single persistent HTTP connection without the connection state overhead of full WebSockets."