Nodejs doesn't have a single thread, in fact the JS code is executed on a single thread, but the I/O interaction happens within a thread-pool handled by libuv. This means that the Nodejs process itself spawns more than one thread, but your JS code will run on a single thread thanks to V8. itn this procect i did a demo of how we can use mutli-threading into Nodejs app by creating child processes
-
Notifications
You must be signed in to change notification settings - Fork 0
berna39/nodejs-multi-threading
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published