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: 5 months ago
JSON representation
Node.js multi threading example with Sample data
- Host: GitHub
- URL: https://github.com/gopalanand333/nodejs-multi-threading
- Owner: gopalanand333
- License: mit
- Created: 2019-12-17T11:10:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T17:31:53.000Z (over 3 years ago)
- Last Synced: 2024-12-28T05:28:29.626Z (over 1 year ago)
- Topics: express, express-js, node-js, node-multi-threading, nodejs, service-worker
- Language: JavaScript
- Homepage:
- Size: 220 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`