Skip to content
When is NodeJS Single Threaded and when is it multi-Threaded? episode artwork

Dec 25, 2021 9 min

When is NodeJS Single Threaded and when is it multi-Threaded?

from Kutad Gubilik's Listen Later Hosted by Hussein Nasser

Podcast: The Backend Engineering Show with Hussein Nasser (LS 41 · TOP 1.5% what is this?) Episode: When is NodeJS Single Threaded and when is it multi-Threaded? Pub date: 2021-03-24 Get Podcast Transcript → powered by Listen411 - fast audio-to-text and summarization Node JS Is single-threaded asynchronous non-blocking javascript runtime, but it's not always single-threaded there are occasions where nodejs uses multi-threading, so the questions we will try to answer in this video, when is nodejs single-threaded and when does it use multi-threading and how will that affect my app? Event Loop single thread, that really just loops for callbacks 0:00 Threading in Node jS (libuv) 4:00 used for IO/intensive DNS queries file system reads CPU intensive crypto compression process.env.UV_THREADPOOL_SIZE=1 Examples 8:00 Cluster Nodejs 16:00 Example 1 HTTP server return 1 HTTP server while 1 HTTP server with file system read async HTTP server with file system read sync HTTP server with fetch call to server (dns) Support my work on PayPal https://bit.ly/33ENps4 Become a Member on YouTube https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join 🧑‍🏫 Courses I Teach https://husseinnasser.com/courses The podcast and artwork embedded on this page are from Hussein Nasser, which is the property of its owner and not affiliated with or endorsed by Listen Notes, Inc.

Episode details come from the podcast's RSS feed.

Embed this episode

Podcast: The Backend Engineering Show with Hussein Nasser Episode: When is NodeJS Single Threaded and when is it multi-Threaded? Pub date: 2021-03-24 Details: https://www.listennotes.com/e/9238cfe36bb348c8a455d90a34a9c49e/ The podcast and artwork embedded on this page are from Hussein Nasser, which is the property of its owner and not affiliated with or endorsed by Listen Notes, Inc.

Ready to play

When is NodeJS Single Threaded and when is it multi-Threaded?

0:00 9:06

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Kutad Gubilik's Listen Later?

This episode is 9 minutes long.

When was this Kutad Gubilik's Listen Later episode published?

This episode was published on December 25, 2021.

Can I download this Kutad Gubilik's Listen Later episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.