Making Postgres queues scale
Trending on Hacker News: Making Postgres queues scale (87 points / 17 comments, via dbos.dev)
Opening excerpt
Mike Stonebraker & Cockroach Labs: Agents on ACID? Pricing Customers Resources Docs Blog Explore … Sign in Get started July 24: DBOS User Group Meeting Customers Pricing Blog Docs Resources Start your project Login Login Start your project Back to posts Postgres Queues Actually Scale Qian Li Peter Kraft June 2, 2026 How To Add to Google Share this post The conventional wisdom around Postgres-backed queues is that they don’t scale. To handle a large workload, you can’t use Postgres, but instead need a dedicated queueing system like RabbitMQ + Celery or Redis + BullMQ. There’s a reason people say this: queues really are a demanding workload for Postgres. At scale, thousands of workers are polling your queues table at the same time, creating contention and churning indexes. But with the right optimizations, Postgres can handle it. In this blog post, we’ll show how we optimized Postgres-backed queues at scale, achieving 30K workflow executions per second across thousands of servers.
(Excerpted from the original; full article via the source link below.)
This story hit the Hacker News front page today (87 points / 17 comments, via dbos.dev). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.
Source: Hacker News