
When NodeJS I/O Blocks | The Backend Engineering Show
The Backend Engineering Show with Hussein Nasser
00:00
Node JS Async Single Thread
Node JS is a single threaded runtime. And most of the work is done asynchronously with that single thread. In Linux, it uses E-pol. In Mac OS, it uses KQ for SunOS, it uses event ports. For Windows, it uses the I O C P which stands for input output completion ports. Regardless of the method performed after the asynchronous I O is done, node calls the user callback that are scheduled in the event main loop.
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.