PgQue Turns PostgreSQL into Zero-Bloat Queue
PgQue is a pure PostgreSQL queue built in SQL and PL/pgSQL, redesigned for managed Postgres without C extensions or daemons. It uses snapshot-based batching and table rotation to avoid SKIP LOCKED bloat and keep the hot path vacuum-friendly under sustained load.
The trade-off is deliberate: PgQue gives up ultra-low-latency dispatch in exchange for a queue that is much easier to keep healthy over time.
- –Strong fit for teams already standardized on managed Postgres and unwilling to run extra services.
- –Snapshot batching plus TRUNCATE rotation is the real differentiator; it targets dead tuples and vacuum pressure directly.
- –The architecture looks better for durable event streams and fan-out than for classic millisecond-sensitive job queues.
- –The "zero-bloat" claim matters most when the queue is expected to run continuously, not just in demos.
DISCOVERED
45d ago
2026-04-20
PUBLISHED
45d ago
2026-04-20
RELEVANCE
AUTHOR
Github Awesome