Releases: poolifier/poolifier-web-worker
Releases · poolifier/poolifier-web-worker
v0.4.0
What's Changed
Changed
- Support per task function(s) priority and worker choice strategy definition
via a task function object:
{ taskFunction: (data?: Data) => Response | Promise<Response>, priority?: number, strategy?: WorkerChoiceStrategy }
. - Add priority queue based tasks queueing. One priority queue is divided into
prioritized buckets to avoid queued tasks starvation under load. - BREAKING CHANGE:
listTaskFunctionNames()
tolistTaskFunctionsProperties()
in pool and worker API returning registered task functions properties. - BREAKING CHANGE:
strategy
field in pool information renamed to
defaultStrategy
.
Fixed
- Ensure dynamic worker node are initialized with sensible worker node usage
default values to avoid worker choice strategies biased decisions.
Full Changelog: v0.3.17...v0.4.0
v0.3.17
What's Changed
Fixed
- Ensure worker choice strategy options changes at runtime are propagated to
poolifier workers. - Do not reset worker node usage statistics at worker choice strategy runtime
change.
Full Changelog: v0.3.16...v0.3.17
v0.3.16
v0.3.15
What's Changed
Fixed
- Fix possible race condition at worker node recreation on worker node
error
andexit
events.
Changed
- Optimize different JavaScript runtime handling code with a branching less
design pattern. - Disable release publishing on https://deno.land/x/poolifier in favor of JSR:
https://jsr.io/@poolifier/poolifier-web-worker.
Full Changelog: v0.3.14...v0.3.15
v0.3.14
What's Changed
Changed
- Add
errorEventHandler
handler support to pool options listening for error
event on each worker.
Full Changelog: v0.3.13...v0.3.14
v0.3.13
What's Changed
Fixed
- Ensure the minimum number of workers on a started pool is guaranteed.
Full Changelog: v0.3.12...v0.3.13
v0.3.12
What's Changed
Changed
- Add mitata and Bun support to internal benchmark.
Full Changelog: v0.3.11...v0.3.12
v0.3.11
v0.3.10
What's Changed
Fixed
- Fix browser compatibility: ensure
node:...
imports are conditionals.
Full Changelog: v.0.3.9...v0.3.10