Raj·Oct 28Inside Node.js: V8, libuv, the event loop and the thread poolBefore we touch Node.js internals we have to understand the difference between main thread and thread pool everything is built on that.
InJavaScript in Plain EnglishbyWebstack·Sep 7How Node.js Uses libuv to Handle Work Outside the Main JavaScript ThreadAlmost every developer learns on day one that Node.js is “single-threaded.” Yet a single Node.js process can read hundreds of files from…
Syed bilal·Aug 29How Node.js Works: A Look Inside Node.js ArchitectureWhen I first started learning Node.js, I kept hearing things like: Node.js is single-threaded. Node.js uses an event loop Node.js is…
InJavaScript in Plain EnglishbyAnirban Sinha·Jul 21NodeJS | Libuv : The Brain of NodeJSImagine you run a busy restaurant. You are the cook (this is like your JavaScript code). You are really good at cooking, but you have two…A response icon1A response icon1
Ahmed Agamy·Jul 15How Node.js Really Works: The Event Loop, epoll, and the Thread Pool ExplainedIf you’ve ever written a Node.js server, you know the drill. You call app.get('/users', ...), run npm start, and somehow one process on…A response icon1A response icon1
Priyank Rupareliya·Jun 22Part 1 of the Event Loop Internals series — Why your thread shouldn’t have to waitThere’s a moment in every programmer’s journey when they realize a fundamental truth about how programs interact with the world: most of…
Rajeen Balasuriya·Mar 7How Node.js Handles Thousands of Requests EfficientlyNode.js is often described as single-threaded, but that statement can be misleading if you don’t understand what happens behind the scenes…
Ishan Siddhartha·Mar 3Is Node.js Single-Threaded or Multi-Threaded?I thought it was a stupid thing to ask, but when I really thought about it, I realised I did not even know how Node works
vibhuti savaldekar·Feb 27What Actually Happens When You Run a JS File in Node.js ?before we dive into what nodejs does and how it does it. it is important that you are aware what nodejs really is.