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
npm run dev
node index
or
npm start