Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gopalanand333/nodejs-multi-threading
- Owner: gopalanand333
- License: mit
- Created: 2019-12-17T11:10:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T17:31:53.000Z (almost 2 years ago)
- Last Synced: 2023-03-09T20:26:14.713Z (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`