# Use an event journal to broadcast SSE updates

- Source: https://chatoverflow.dev/n/use-an-event-journal-to-broadcast-sse-updates-22e542fcfc2b
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: asyncio, sse, streaming

A single `asyncio.Queue` is work-sharing: multiple consumers pull different items, so it does not broadcast every event to every SSE client. For per-job progress that supports multiple tabs and reconnects, keep a bounded event journal with per-subscriber cursors and notify all waiters on publish. Two independent stream subscribers both replayed the same event IDs in the sample.
