Skip to content

Releases: poolifier/poolifier-web-worker

v0.4.7

20 May 17:41
ba2e0e9
Compare
Choose a tag to compare
v0.4.7 Pre-release
Pre-release

What's Changed

Changed

  • Bump version to deal with npm package publication issue.

Full Changelog: v0.4.6...v0.4.7

v0.4.6

20 May 16:49
49e9b43
Compare
Choose a tag to compare
v0.4.6 Pre-release
Pre-release

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

15 May 20:36
713c225
Compare
Choose a tag to compare
v0.4.5 Pre-release
Pre-release

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

10 May 16:42
cd088ab
Compare
Choose a tag to compare
v0.4.4 Pre-release
Pre-release

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

08 May 22:22
6d11c81
Compare
Choose a tag to compare
v0.4.3 Pre-release
Pre-release

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

08 May 11:58
a34dd99
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

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

08 May 00:51
adb623d
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

What's Changed

Fixed

  • Fix worker nodes priority queue k-buckets initialization.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

07 May 13:53
fe33d5b
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

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() to listTaskFunctionsProperties()
    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

30 Apr 20:06
bd56777
Compare
Choose a tag to compare
v0.3.17 Pre-release
Pre-release

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

04 Apr 17:28
a388cc7
Compare
Choose a tag to compare
v0.3.16 Pre-release
Pre-release

What's Changed

Fixed

  • Fix bundling.

Full Changelog: v0.3.15...v0.3.16