Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gopalanand333/nodejs-multi-threading

Node.js multi threading example with Sample data
https://github.com/gopalanand333/nodejs-multi-threading

express express-js node-js node-multi-threading nodejs service-worker

Last synced: about 12 hours ago
JSON representation

Node.js multi threading example with Sample data

Awesome Lists containing this project

README

        

# nodejs-multi-threading
Node.js multi threading example with real health data

### When we have alot of different data sources and multiple calls happening at same time, A single thread can freeze or take alot of time to give response.
- In this example, we will call different service threads for each type of calculation and compare the time taken for them

## to run on dev enviornment with nodemon use:
`npm run dev`

## to run on server use:
`node index`
or
`npm start`