Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

poolifier

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poolifier - npm Package Versions

1
20

2.6.8

Diff

Changelog

Source

[2.6.8] - 2023-07-03

Fixed

  • Brown paper bag release to fix version handling in pool information.
pioardi
published 2.6.7 •

Changelog

Source

[2.6.7] - 2023-07-03

Fixed

  • Ensure worker queued tasks at error are reassigned to other pool workers.

Added

  • Add pool utilization ratio to pool information.
  • Add version to pool information.
  • Add worker information to worker nodes.
pioardi
published 2.6.6 •

Changelog

Source

[2.6.6] - 2023-07-01

Added

  • Add safe helper availableParallelism() to help sizing the pool.

Fixed

  • Ensure message handler is only registered in worker.
pioardi
published 2.6.5 •

Changelog

Source

[2.6.5] - 2023-06-27

Known issues

  • Cluster pools tasks execution are not working by using ESM files extension: https://github.com/poolifier/poolifier/issues/782

Fixed

  • Artificial version bump to 2.6.5 to workaround publication issue.
  • Ensure cluster pool destroy() gracefully shutdowns worker's server.
  • Ensure pool event is emitted before task error promise rejection.
  • Fix queued tasks count computation.

Removed

  • Remove unneeded worker_threads worker MessageChannel internal usage for IPC.
pioardi
published 2.6.4 •

Changelog

Source

[2.6.4] - 2023-06-27

Known issues

  • Cluster pools tasks execution are not working by using ESM files extension: https://github.com/poolifier/poolifier/issues/782

Fixed

  • Ensure cluster pool destroy() gracefully shutdowns worker's server.
  • Ensure pool event is emitted before task error promise rejection.
  • Fix queued tasks count computation.

Removed

  • Remove unneeded worker_threads worker MessageChannel internal usage for IPC.
pioardi
published 2.6.3 •

Changelog

Source

[2.6.3] - 2023-06-19

Fixed

  • Ensure no tasks are queued when trying to soft kill a dynamic worker.
  • Update strategies internals after statistics computation.

Changed

  • Optimize O(1) queue implementation.
pioardi
published 2.6.2 •

Changelog

Source

[2.6.2] - 2023-06-12

Fixed

  • Fix new worker use after creation in dynamic pool given the current worker choice strategy.
pioardi
published 2.6.1 •

Changelog

Source

[2.6.1] - 2023-06-10

Added

  • Add worker choice strategy documentation: README.md.

Fixed

  • Fix average statistics computation: ensure failed tasks are not accounted.
pioardi
published 2.6.0 •

Changelog

Source

[2.6.0] - 2023-06-09

Added

  • Add LEAST_ELU worker choice strategy (experimental).
  • Add tasks ELU instead of runtime support to FAIR_SHARE worker choice strategy.

Changed

  • Refactor pool worker node usage internals.
  • Breaking change: refactor worker choice strategy statistics requirements: the syntax of the worker choice strategy options has changed.
  • Breaking change: pool information info property object fields have been renamed.

Fixed

  • Fix wait time accounting.
  • Ensure worker choice strategy LEAST_BUSY accounts also tasks wait time.
  • Ensure worker choice strategy LEAST_USED accounts also queued tasks.
pioardi
published 2.5.4 •

Changelog

Source

[2.5.4] - 2023-06-07

Added

  • Add Event Loop Utilization (ELU) statistics to worker tasks usage.

Changed

  • Compute statistics at the worker level only if needed.
  • Add worker_threads options to thread pool options.

Fixed

  • Make the LEAST_BUSY strategy only relies on task runtime.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc