Skip to content

carboleda/nodejs-multithreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-multithreading

This an example of using multithread in nodejs

This project was based on Michele Riva's article medium post Going Multithread with Node.js

Install dependencies

yarn install

How to execute?

yarn start:single OR start:multi

Execution times to build 1.000.000 of user names:

Mode Time in seconds
Single thread 756s
Multi thread 155s

Releases

No releases published

Packages

No packages published