Postgres LISTEN/NOTIFY can hit 60K writes/sec with lock‑busting tricks
A global exclusive lock during NOTIFY used to cap throughput at ~3K writes/sec, but buffering notifications in memory, batch flushing, and in‑process delivery push that to 60K writes per second on a single server with millisecond latency. The fix preserves low‑latency pub/sub while making Postgres viable for high‑scale streaming.