Skip to content
Get started
Get started
bunqueue v2.4.0
View Markdown
blog · release

bunqueue v2.4.0

Auto-batching for queue.add() over TCP, 306 new tests.

bun add bunqueue@2.4.0
npm install bunqueue@2.4.0
bun add bunqueue@latest

Transparently batches concurrent add() calls into PUSHB commands

  • Zero overhead for sequential await usage (flush immediately when idle)
  • ~3x speedup for concurrent adds (buffers during in-flight flush)
  • Configurable: autoBatch: { maxSize: 50, maxDelayMs: 5 } (defaults)
  • Durable jobs bypass the batcher (sent as individual PUSH)
  • Disable with autoBatch: { enabled: false }

Covering previously untested modules


← bunqueue v2.3.1 · Release on GitHub · Commits since v2.3.1 · Full changelog · All posts