Releases: poolifier/poolifier-web-worker
Releases · poolifier/poolifier-web-worker
v0.4.7
What's Changed
Changed
- Bump version to deal with npm package publication issue.
Full Changelog: v0.4.6...v0.4.7
v0.4.6
What's Changed
Fixed
- Ensure tasks stealing dynamic worker node is not destroyed on inactivity.
Full Changelog: v0.4.5...v0.4.6
v0.4.5
What's Changed
Fixed
- Fix default task function worker choice strategy and priority handling.
Full Changelog: v0.4.4...v0.4.5
v0.4.4
What's Changed
Fixed
- Avoid queued tasks redistribution on the errored worker node.
- Fix pools'
addTaskFunction()
type definition.
Full Changelog: v0.4.3...v0.4.4
v0.4.3
What's Changed
Fixed
- Disable
tasksStealingOnBackPressure
by default until performance issues
under heavy load are sorted out.
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed
Changed
- Optimize task(s) stealing by dequeuing task(s) from the last prioritized
bucket.
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
Fixed
- Fix worker nodes priority queue k-buckets initialization.
Full Changelog: v0.4.0...v0.4.1
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