Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 628 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 628 Bytes

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