Skip to content

Non blocking multi threaded batched worker pools in node.js 🔥

License

Notifications You must be signed in to change notification settings

a1xon/Batched-Worker-Pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batched-Worker-Pool

Non blocking multi threaded batched worker pools in node.js 🔥 Using node.js worker_threads module

batchedWorkerPool = [
  [ Worker, Worker, Worker, Worker]
  [ Worker, Worker, Worker, Worker]
  [ Worker, Worker, Worker, Worker]
]

Each Batch of workers is identical Each Worker of a Batch can get individually seeded with parameters, functions, etc. This is more RAM-heavy but can help deliver seperatable, CPU heavy tasks quicker

Influenced by https://github.com/addaleax/workers-sudoku

About

Non blocking multi threaded batched worker pools in node.js 🔥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published