Skip to content

jessecascio/drotto-tutorials

Repository files navigation

drotto Tutorials

Drotto is a lightweight NodeJS process pool, allowing for CPU bound workload parallelization across multiple CPU cores.

Use

NOTE: Tutorials are run with babel-node which is an on the fly Babel compilation process with poor performance. Do not equate tutorial performance to library performance.

$ npm i
$ npm start -- tutorial1

Tutorials

  • Tutorial 1 - Single function parralelization

  • Tutorial 2 - Single function parralelization, waiting for job completion

  • Tutorial 3 - Handeling function exceptions

  • Tutorial 4 - Keeping main thread alive

  • Tutorial 5 - Force kill workers prior to job completion

  • Tutorial 6 - Multi function parralelization, waiting for all jobs to complete

  • Tutorial 7 - Multi function parralelization, waiting for first job to complete

About

Drotto Tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published