Cool comparison between threading and asynchronous method performance benchmarks in Node JS. That is by the method:
1. Regular event loop blocking
2. Using child processes
3. Create a Cluster process
4. Using Worker Threads
5. Using Native C++ addon in Node JS
Benchmark results can be seen below
https://novokhatskyioleksii.medium.com/node-js-heroes-of-worker-threads-c-addon-76dd11f34c33
#nodejs #thread #worker #async
1. Regular event loop blocking
2. Using child processes
3. Create a Cluster process
4. Using Worker Threads
5. Using Native C++ addon in Node JS
Benchmark results can be seen below
https://novokhatskyioleksii.medium.com/node-js-heroes-of-worker-threads-c-addon-76dd11f34c33
#nodejs #thread #worker #async
Using Web Worker for heavy data processing on the browser side and case examples
https://www.freecodecamp.org/news/how-webworkers-work-in-javascript-with-example/
#webworker #worker #thread
https://www.freecodecamp.org/news/how-webworkers-work-in-javascript-with-example/
#webworker #worker #thread