Skip to main content
Swytch Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Notify Workloads with Pub/Sub

Send a notification to connected workloads without polling a shared key. Applications connect to local sidecars and subscribe to a shared channel.

Use Redis pub/sub for invalidation hints, live status, and events a disconnected consumer can afford to miss. Put the actual state in a key that consumers can read again after reconnecting.

Pub/sub does not supply a durable backlog or acknowledgements. If every job must remain available until handled, use a stream and plan its storage and recovery.