Settings

Theme

Show HN: A SQLite-backed job queue handling 15k jobs/s

github.com

2 points by joseferben a year ago · 0 comments · 1 min read

Reader

15k jobs/s is on my macbook pro m1 without batching.

i did a bit of benchmarking and optimizing, but there are probably quite a few things that can be done to improve throughput.

plainjobs is a bit more feature complete than just a bare-bones queue with atomic pop semantic. it supports scheduled cron jobs and auto re-queueing if a worker dies.

the queue has an api that can be used to build a dashboard, which is one of the next things i'm going to do.

i extracted plainjobs while working on a SQLite stack for web development in TypeScript, hoping it could be useful for others!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection