DPDhawal Pandyaindhawalpandya01.hashnode.dev00Waiting Is a Skill4d ago · 8 min read · "Nature does not hurry, yet everything is accomplished." Lao Tzu A mutex, short for mutual exclusion, is a lock that only one thread can hold at a time. If thread A holds it, thread B waits. A simpleJoin discussion
DPDhawal Pandyaindhawalpandya01.hashnode.dev00A Million Concurrent Things5d ago · 8 min read · "Concurrency is not parallelism." Rob Pike Go lets you write this: go doSomething() One word. That is all it takes to spin up a concurrent unit of execution. You can do this a hundred thousand timesJoin discussion
AAugustineincloudpen-blogs.hashnode.dev00I built a real PTY terminal that runs in the browser — here's how and whyJun 3 · 2 min read · If you've used other browser-based code editors, you've probably noticed that the terminal feels off. You can run a script. You can print to stdout. But the moment you try to install a package and theJoin discussion
SKSreeram K Sincode-as-a-story.hashnode.dev00Processes vs Threads — Explained SimplyMay 26 · 6 min read · Story Time Let's get started with a simple story. Imagine you walk into a busy food court like the ones you see in malls. There are multiple restaurants inside a pizza shop, a burger joint, a coffee bJoin discussion
NPNikhil Prasharinnikhilprashar.hashnode.dev00How Node.js Handle Multiple Requests with a Single Threads.May 10 · 4 min read · Single-threaded nature of Node.js . Before understanding the single-threaded nature of Node.js, first understand what a thread means. A thread is basically a path of execution where code runs and taskJoin discussion
NFNausheen Faiyazincodexninja.hashnode.dev00How Node.js Handles Multiple Requests with a Single ThreadMay 9 · 7 min read · The first time I learned this: “Node.js is single-threaded”…I immediately thought:“Then how does it handle thousands of users?” Because in my head… single-threaded meant: One task at a time So naturaJoin discussion
RTRochak Tiwariinunderstandingwebdevelopment.hashnode.dev00How Node.js Handles Multiple Requests with a Single ThreadMay 8 · 9 min read · Introduction to Node.js Concurrency One of the first things developers hear about Node.js is that it is single-threaded. At first, this sounds confusing. If Node.js uses only one thread, how can it haJoin discussion
SMSiddhartha Mohapatrainnode-multiple-request.hashnode.dev00How Node.js Handles Multiple Requests with a Single ThreadMay 8 · 6 min read · Node.js is commonly described as “single-threaded.” Many developers assume that a single thread can only handle one request at a time, making it unsuitable for modern web applications with thousands oJoin discussion
Sshaileshinnodejs-single-thread-sspadwal.hashnode.dev00How Node.js Handles Multiple Requests with a Single ThreadMay 8 · 5 min read · One of the most confusing things beginners hear about Node.js is this: Node.js is single-threaded, but it can handle thousands of requests. At first, this sounds impossible.A common question is: “IfJoin discussion
SSSubransu Sekhar Maharanainwebfundamentals.hashnode.dev00How Node.js Handles Multiple Requests with a Single ThreadMay 7 · 7 min read · Modern web applications often need to handle thousands of users at the same time. When developers first hear that Node.js is single-threaded, the immediate question is: “If Node.js uses only one threJoin discussion