frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Bunqueue – Job queue for Bun using SQLite instead of Redis

https://github.com/egeominotti/bunqueue
13•kernelvoid•3d ago

Comments

kernelvoid•3d ago
Hi HN! I built bunqueue because I got tired of spinning up Redis just for background jobs.

The idea: for single-server deployments, SQLite can handle 100k+ ops/sec with WAL mode, so why add infrastructure?

  Two modes:                                                                                        
  
  - Embedded: everything in-process, just `import` and go                                           
  - Server: run `bunqueue start`, connect multiple workers via TCP                                  
                                                                                                    
Features: priorities, delays, retries, cron jobs, DLQ, job dependencies, BullMQ-compatible API.

  Trade-offs vs Redis:                                                                              
 
  - Not for multi-region distributed systems                                                        
  - Best for single server or small clusters                                                        
                                                                                                    
 Happy to answer any questions about the architecture!
nakovet•1h ago
We are using a service that abstracts redis from us and requires to be treated like a critical dependency, think RDS, Aurora, Postgres, if they are down the whole site is down. Every job push is a call to this service. Upgrading the service = downtime.

For us this is resulted in a big weak point on our architecture because when the service reboots both job pushing and job pulling stops, with the pushing being on the API side bringing the API down. With containers we could have multiple of them running at the same time, but the shared reading/writing of the abstract Redis locks itself.

We are considering BullMQ, because the architecture is sane: * job push: API writes to Redis * job pull: Worker reads from Redis then writes the completion.

How do you see this issue for Bunqueue? What happens when it goes down for 5 minutes, can the jobs be enqueued? Can you run multiple instances of it, failover?

Our throughput (jobs/sec) is small we do have 100k+ scheduled jobs anywhere from minutes to months from now.

kernelvoid•23m ago
Transparent answer about bunqueue's architecture.

Current state: bunqueue is single-server with SQLite persistence.

If the server goes down for 5 minutes, clients cannot push/pull during that window. However: the client SDK has automatic reconnection with exponential backoff + jitter, all data is safe on disk (SQLite WAL mode), and on restart active jobs are detected as stalled and re-queued automatically. Delayed/scheduled jobs resume from their run_at timestamps.

For your use case (100k+ scheduled jobs, low throughput): well-optimized. We use MinHeap + SQLite indexes for O(k) refresh where k = jobs becoming ready, not O(n) scan.

What bunqueue does NOT have today: no clustering, no multi-instance with shared state, no automatic failover, no replication.

What it does have: S3 automated backups (compressed, checksummed) for disaster recovery. A "durable: true" option for zero data loss on critical jobs. Zero external dependencies.

Roadmap: HA is something we're actively working toward. Native HA with leader election and replication. Managed cloud offering with automatic failover and geographic distribution.

Bottom line: if you need true HA today, BullMQ + Redis Sentinel/Cluster is the safer choice. bunqueue is for when you want simplicity, high performance (~100k jobs/sec), and can tolerate brief downtime with automatic recovery.

Voxtral Transcribe 2

https://mistral.ai/news/voxtral-transcribe-2
750•meetpateltech•11h ago•176 comments

OpenClaw is what Apple intelligence should have been

https://www.jakequist.com/thoughts/openclaw-is-what-apple-intelligence-should-have-been
125•jakequist•2h ago•124 comments

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

https://sqldef.github.io/
66•Palmik•3d ago•13 comments

Claude Code: connect to a local model when your quota runs out

https://boxc.net/blog/2026/claude-code-connecting-to-local-models-when-your-quota-runs-out/
203•fugu2•3d ago•102 comments

Claude Code for Infrastructure

https://www.fluid.sh/
157•aspectrr•8h ago•131 comments

Remarkable Pro Colors

https://www.thregr.org/wavexx/rnd/20260201-remarkable_pro_colors/
65•ffaser5gxlsll•3d ago•26 comments

AI is killing B2B SaaS

https://nmn.gl/blog/ai-killing-b2b-saas
237•namanyayg•9h ago•394 comments

Building a 24-bit arcade CRT display adapter from scratch

https://www.scd31.com/posts/building-an-arcade-display-adapter
126•evakhoury•9h ago•35 comments

Microsoft's Copilot chatbot is running into problems

https://www.wsj.com/tech/ai/microsofts-pivotal-ai-product-is-running-into-big-problems-ce235b28
137•fortran77•10h ago•167 comments

As Rocks May Think

https://evjang.com/2026/02/04/rocks.html
59•modeless•3h ago•44 comments

Tractor

https://incoherency.co.uk/blog/stories/tractor.html
153•surprisetalk•1d ago•49 comments

Attention at Constant Cost per Token via Symmetry-Aware Taylor Approximation

https://arxiv.org/abs/2602.00294
156•fheinsen•12h ago•84 comments

Lily Programming Language

https://lily-lang.org
11•FascinatedBox•3d ago•3 comments

A sane but bull case on Clawdbot / OpenClaw

https://brandon.wang/2026/clawdbot
260•brdd•1d ago•398 comments

Show HN: Bunqueue – Job queue for Bun using SQLite instead of Redis

https://github.com/egeominotti/bunqueue
13•kernelvoid•3d ago•3 comments

RS-SDK: Drive RuneScape with Claude Code

https://github.com/MaxBittker/rs-sdk
100•evakhoury•9h ago•39 comments

Data Poems

https://dr.eamer.dev/datavis/poems/
26•putzdown•3d ago•4 comments

We Used To Build Things. What Happened?

https://garryslist.org/posts/we-used-to-build-things-what-happened
8•rmason•3h ago•0 comments

Show HN: Morph – Videos of AI testing your PR, embedded in GitHub

https://morphllm.com/products/glance
21•bhaktatejas922•5h ago•10 comments

Secure erase for Samsung PM951 NVMe drive (2024)

https://peterbabic.dev/blog/how-not-to-securely-erase-nvme-drive/
12•transpute•4d ago•2 comments

Coding Agent VMs on NixOS with Microvm.nix

https://michael.stapelberg.ch/posts/2026-02-01-coding-agent-microvm-nix/
85•secure•3d ago•40 comments

Claude is a space to think

https://www.anthropic.com/news/claude-is-a-space-to-think
373•meetpateltech•14h ago•204 comments

Arcan-A12: Weaving a Different Web

https://www.divergent-desktop.org/blog/2026/01/26/a12web/
52•ingenieroariel•10h ago•14 comments

A real-world benchmark for AI code review

https://www.qodo.ai/blog/how-we-built-a-real-world-benchmark-for-ai-code-review/
39•benocodes•5h ago•16 comments

Converge (YC S23) Is Hiring Product Engineers (NYC, In-Person)

https://www.runconverge.com/careers/product-engineer
1•thomashlvt•9h ago

The Codex app illustrates the shift left of IDEs and coding GUIs

https://www.benshoemaker.us/writing/codex-app-launch/
66•straydusk•6h ago•141 comments

Steam Hardware: Launch timing and other FAQs

https://store.steampowered.com/news/group/45479024/view/625565405086220583
24•Philpax•2h ago•6 comments

Tell HN: Another round of Zendesk email spam

79•Philpax•7h ago•32 comments

Debian's Challenge When Its Developers Drift Away

https://www.phoronix.com/news/Debian-Developers-Quiet-Away
42•cuechan•4h ago•2 comments

Guinea worm on track to be 2nd eradicated human disease; only 10 cases in 2025

https://arstechnica.com/health/2026/02/guinea-worm-on-track-to-be-2nd-eradicated-human-disease-on...
269•bookofjoe•12h ago•121 comments