HFXWorker
HFXWorker is a worker_threads pool implementation that supports passing buffers.
- Focused on performance
- Uses generic-pool
- Unit and E2E tested
npm install --save hfxworker
Quick Start
Create a file named pool.js
:
;; execute.catchconsole.errorerror;
And another file as worker.js:
; exposeWorker;
Now you just need to run node pool.js
!
API Documentation
Your can learn more about HFXWorker API clicking here.
Related Projects
- HFXBus - Redis backed high frequency exchange bus for NodeJS.
- HFXEventStash - A high performance event store to persist commands (CQRS).