Postgres as a Message Bus: Implementing Durable Event Queues with LISTEN/NOTIFY and Logical Decoding

You’ve got a small-ish system: a monolith plus a couple of background workers, maybe one or two sidecar services.