Skip to content

14.13 Real-Time Systems & Webhook Dispatch ​

1. Webhooks vs SSE vs WebSockets ​

ArchitectureProtocolDirectionStatefulnessPrimary Use Case in OmniPost
WebhooksHTTP POSTServer-to-ServerStatelessOutbound event delivery to microservices
Server-Sent EventsHTTP StreamingServer-to-ClientLightweightLive delivery feed streaming to console
WebSocketsBi-directional TCPFull DuplexStateful connectionInteractive 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."