- PgQue hits <1μs latency for 10,000+ send/receive/ack ops/sec.
- 1-2 second end-to-end delivery on 1-second ticks scales to millions.
- Frees 95% CPU cycles on Ryzen 9 7950X for gaming/HPC since 2007 roots.
Nikolay Samburov launched PgQue on GitHub in October 2024. This pure PL/pgSQL rebuild of Skype's PgQ targets Postgres 14+. Benchmarks in the project's README show 1μs latency for send, receive, and ack calls. End-to-end delivery averages 1-2 seconds on 1-second ticks. PgQue GitHub.
Skype's PgQ Origins Drive PgQue's PC-Efficient Design
Skype engineers, led by Alexander Kirpa, built PgQ in 2007. It scaled messaging for 300 million users on Postgres clusters, per original PgQ docs.
Nikolay Samburov recreated this in pure PL/pgSQL. No C extensions or binaries required. It runs on AWS RDS Postgres. Use pg_cron for 1-second ticks or call pgque.ticker() manually. PL/pgSQL docs.
Zero-Bloat Install Cuts Resource Use on Premium PC Hardware
SQL scripts install PgQue with no compilation or daemons. This avoids CPU fights on AMD Ryzen 9 7950X (16 cores, 5.7GHz) or Intel Core Ultra 9 285K.
README benchmarks confirm <1μs per-call latency at 10,000 ops/sec. 1-2 second delivery suits PC apps. pg_cron GitHub.
PgQue Beats Rivals in Latency and Scale Benchmarks
Nikolay Samburov's tests validate sub-1μs speed on Postgres 14. Heroku's Que built a 60,000-job backlog in one hour during a 2015 outage, per Brandur Lechthaler's blog analysis.
PlanetScale's queue hit 800 jobs/second failures in 2024, according to their engineering report.
Skype's PgQ ran 15 years without issues.
- Metric: Per-Call Latency · PgQue (Samburov benchmarks): <1μs · Heroku Que (Lechthaler, 2015): N/A · PlanetScale (2024 report): N/A
- Metric: End-to-End Delivery · PgQue (Samburov benchmarks): 1-2s · Heroku Que (Lechthaler, 2015): N/A · PlanetScale (2024 report): N/A
- Metric: Failure Threshold · PgQue (Samburov benchmarks): >10k ops/sec · Heroku Que (Lechthaler, 2015): 60k backlog/hr · PlanetScale (2024 report): 800 jobs/sec
Postgres 14 optimizations power this on PCs. Postgres 14 notes.
Price-Performance Gains on High-End PC Builds
PCs run local Postgres for dev, HPC, and game servers. PgQue frees 95%+ Ryzen 9 7950X cycles for tasks, per Samburov's repo simulations.
In gaming, it handles Counter-Strike 2 matchmaking at 144Hz. 1-2s delivery cuts lag in 128-player lobbies on RTX 4090 (24GB GDDR6X, 450W TDP).
IT admins update 1,000 Windows endpoints without pileups. Efficiency cuts time 70% versus polling.
Benchmarks on RTX 4090, Ryzen 9 7950X Rigs
ASUS ROG Strix X670E-E tests (Ryzen 9 7950X, 128GB DDR5-6000, RTX 4090) show PgQue ticks use <0.1% CPU. It handles 5,000 Star Citizen updates/min without 170W spikes.
Microsecond acks trim 50ms lag versus pgmq. NVMe SSDs like Samsung 990 Pro 4TB (7,450MB/s reads) clear backlogs 3x faster than HDDs.
$3,500 builds gain value. Free PgQue saves $10,000 yearly on 1M jobs versus Heroku's $0.01-0.05/job.
Financial Upside: Postgres Growth Lifts AMD, Intel Stocks
PgQue cuts overhead 90% versus rivals, per Samburov's data. Postgres market reached $5B in 2023, says DB-Engines ranking.
Efficient workloads boost AMD and Intel ROI. Core i9-14900K ($550) doubles throughput without bloat.
PgQue Powers Future PC AI, Gaming Queues
Builders add PgQue to GPU Postgres for AI inference. It scales past 800 jobs/sec limits for RTX 50-series in Q1 2025.
Deploy on Postgres 14+ now. Nikolay Samburov promises v1.1 updates.
Frequently Asked Questions
What is PgQue?
PgQue rebuilds Skype's PgQ as pure PL/pgSQL Postgres 14+ queue. Zero-bloat design runs on RDS with 1-second ticks.
How does PgQue achieve microsecond latency?
Pure PL/pgSQL handles send/receive/ack in microseconds. End-to-end delivery: 1-2 seconds. No extensions reduce overhead.
Is PgQue suitable for PC HPC?
Yes, optimizes queues on Ryzen/Core PCs for gaming servers and IT. Prevents backlogs in esports matchmaking.
What are PgQue alternatives?
Outperforms Heroku Que (60k backlog/hour) and PlanetScale (800 jobs/sec fail). Free vs paid SaaS.
