Developer builds SQLite-based job queue to avoid Redis dependency for small apps
A developer has released an open-source Node.js library called Vardiya that replaces Redis-backed job queues with a lightweight SQLite file for single-server applications. The tool was created after the developer repeatedly found themselves provisioning Redis just to handle a few hundred background jobs per day on simple side projects. Vardiya supports delayed jobs, cron scheduling, retries with backoff, priority queuing, and stalled-job recovery, all without requiring a separate broker process. The library uses SQLite in WAL mode to handle concurrent workers atomically and benchmarks at roughly 5,000 processed jobs per second on a single machine. The developer explicitly notes it is an at-least-once queue suited for single-host deployments, and recommends alternatives like BullMQ or pg-boss for multi-server setups.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in