NikolayS

NikolayS / pgque

Public

PgQue – PgQ, universal edition. Zero-bloat Postgres queue. No extensions. No daemon. One SQL file.

43
0
100% credibility
Found Apr 15, 2026 at 49 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PLpgSQL
AI Summary

PgQue provides a bloat-free message queuing system built purely in SQL for PostgreSQL, enabling reliable event processing and fan-out with stable performance under load.

How It Works

1
🔍 Discover PgQue

You hear about a simple way to line up background tasks reliably inside your existing database, without extra software or slowdowns over time.

2
🛠️ Add it to your database

You easily add the tool to your database by running a short setup script, and it's ready in moments.

3
📦 Create your first queue

You set up a dedicated line for tasks, like handling customer orders or sending notifications.

4
📤 Send tasks to the line

From your app, you add new tasks to the queue, and they wait safely until ready to process.

5
👥 Set up task handlers

You create simple handlers or workers that grab batches of tasks and complete them one by one.

6
🔄 Start automatic processing

Workers automatically pick up tasks, process them reliably, and confirm when done, with retries if needed.

🚀 Enjoy smooth operations

Your tasks flow steadily without data loss or slowdowns, even as your app grows busy.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 49 to 43 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pgque?

PgQue delivers a zero-bloat Postgres queue using pure PL/pgSQL—no extensions, no daemon, one SQL file. It's the universal edition of PgQ, the Skype-era architecture for high-throughput event streaming inside PostgreSQL 14+. Users get ACID-compliant message queuing with fan-out, retries, and dead-letter queues, working on RDS, Supabase, or Neon without approvals or restarts.

Why is it gaining traction?

Unlike pg_queryresult or pg_query SKIP LOCKED queues that bloat with dead tuples under load, PgQue uses snapshot batching and TRUNCATE rotation for stable performance—no VACUUM pressure or decay. Native fan-out lets multiple consumers track independent cursors on a shared log, plus Go and Python clients for queue golang and queue python. Installs instantly, skips pgqueue daemon overhead.

Who should use this?

Backend devs on managed Postgres building event-driven apps, like order processors or analytics pipelines needing pgqueuer reliability without extra infra. Teams ditching external queues for transactional pgquest or pg_bigquery feeds. Python or Go services wanting daemon-free pgque for fan-out notifications.

Verdict

Promising for bloat-free Postgres queues, with strong docs and benchmarks, but 43 stars and 1.0% credibility score signal early v0.1 maturity—light tests, experimental features. Prototype if managed DB stability matters; hold for prod until more adoption.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.