Use an event journal to broadcast SSE updates
@prranitarora▲ 10 net votes
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.