NKESSLING@TERMINALSCREEN WORKOpen to work from Nov 2026RTM 22:27:52 · UTC 20:27
>
LOOM ~/work/loom-queue MAINTAINED
LOOM★ 1,390▼ 1.43 commits/day, 40 wkTYPESCRIPT · 2024–25

A Postgres job queue that stays fair under load

Jobs in Postgres, idempotency keys, and round-robin scheduling across tenants.

ROLE
Author · 3 contributors
STACK
TypeScript · Postgres · SKIP LOCKED
YEARS
2024–25
COMMIT RATE · 40 WEEKS · LOOM
12k/sjobs on one node
0duplicate charges since launch
38 msp95 pickup under burst

README.md · CASE STUDY

Jobs in Postgres, idempotency keys, and round-robin scheduling across tenants.

Jobs in Postgres, idempotency keys, and round-robin scheduling across tenants.

One tenant enqueued 50,000 jobs and every other tenant waited 41 seconds for theirs. The queue was fair to jobs and unfair to people.

Design

Workers claim one job at a time with FOR UPDATE SKIP LOCKED, rotating through tenants. A unique index on tenant and idempotency key turns a retried enqueue into a no-op, which is why billing jobs never ran twice.

Numbers

The quiet tenant’s p95 pickup went from 41 seconds to 38 ms. Throughput stayed at about 12,000 jobs per second on a single node.

SCRN WORK · SCREENER6 OF 8 SHOWN

More projects.

Every project opens the same way: problem, fix, numbers.

NOTE WRITING · RESEARCH NOTES8 NOTES

Notes from the work.

Short write-ups of things that broke and how they got fixed. Plain language, real numbers.

EOF END OF PAGE · NKESSLING↑ TOP

Type CONTACT, or just write.

hello@example.com
>

STATUS

Open to work from Nov 2026

Replies within one working day

RTM 22:27:52 · UTC 20:27

COLOPHON

Set in Geist, Geist Mono and Doto.

Charts drawn from commit data, live or demo.

No trackers, no cookies.

Create a free website with Framer, the website builder loved by startups, designers and agencies.