https://github.com/imrandil/nodejs_worker_threads_practice
practicing node_js worker_threads to offload the main thread to do cpu intensive tasks, interesting way to use the systems threads.
https://github.com/imrandil/nodejs_worker_threads_practice
backend javascript libuv nodejs worker-threads
Last synced: 4 months ago
JSON representation
practicing node_js worker_threads to offload the main thread to do cpu intensive tasks, interesting way to use the systems threads.
- Host: GitHub
- URL: https://github.com/imrandil/nodejs_worker_threads_practice
- Owner: IMRANDIL
- Created: 2023-09-30T09:52:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-30T10:38:45.000Z (over 1 year ago)
- Last Synced: 2024-12-31T09:17:28.716Z (5 months ago)
- Topics: backend, javascript, libuv, nodejs, worker-threads
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Benchmarking the performance
# time curl --get http://localhost:8000/blocking ->
# result below from index.js and worker.js
#
# result below from four_index.js and four-worker.js
#
# The comparison is sheer clear above.