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

bunqueue v2.8.41

Ships 3 performance improvements. pullBatch now parks delayed and active-group-blocked candidates in one scratch area for the entire batch, then restores them once before releasing the shard lock.

bun add bunqueue@2.8.41
npm install bunqueue@2.8.41
bun add bunqueue@latest
  • pullBatch now parks delayed and active-group-blocked candidates in one scratch area for the entire batch, then restores them once before releasing the shard lock. This removes the repeated extract/reinsert cycle for every delivered job while preserving priority, FIFO groups, limiter accounting, long-poll deadlines and queue indexes.
  • Native benchmarks with 50,000 ineligible jobs and a batch of 100 improved active-group backlogs from roughly 1.54 seconds to 18 milliseconds (about 85x) and delayed backlogs from roughly 1.45 seconds to 16 milliseconds (about 90x).
  • Regression coverage verifies single restoration, partial batches under concurrency limits, earliest delayed wake-up and exception-safe restoration.

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