Node.js Was Born From Frustration With Apache's Concurrency Limit
Node.js did not start as a product plan or a company bet. It started as an itch that Ryan Dahl could not scratch. Servers built on the classic web stack of that era, most of them Apache with a scripting language behind it, handled each incoming connection by assigning it a thread or a process. That model is simple to reason about and it works beautifully at low traffic. Then the traffic arrives, and the model falls over.
The numbers explain the frustration. If one connection costs one thread, then ten thousand concurrent connections cost ten thousand threads. Each thread carries a stack, scheduling overhead, and memory of its own, and most of those threads are sleeping. They are blocked waiting on a database query, a file read, or a slow client uploading a request body. The machine spends its budget on bookkeeping for idle threads instead of doing useful work. This was the well known C10K problem: how do you serve ten thousand simultaneous clients on one box without the concurrency model collapsing under its own weight?
Dahl's answer was to remove the thread per connection assumption entirely. His idea was to build a server that runs a single threaded event loop, registers callbacks for I/O, and never blocks while waiting. When a socket has data, the loop wakes up, runs the handler, and moves to the next ready event. The operating system handles the waiting through non blocking sockets and an efficient polling mechanism. One process, one thread of JavaScript, and thousands of concurrent connections that cost almost nothing while they sit idle.
The pieces came together in 2009. Dahl used Google's V8 engine, the same JavaScript engine that had just been open sourced alongside Chrome, and wrapped it with a C library later split out as libuv to abstract the platform specific event notification calls. He showed the result to the world at the inaugural European JSConf in November 2009, and the talk was the moment server side JavaScript stopped being a curiosity. The famous claim attached to Node.js in that era was that a single process could hold tens of thousands of connections at once, which sounded absurd to anyone who had been tuning Apache worker pools.
The design decision has consequences that every Node.js developer still feels. Blocking the event loop is the cardinal sin, because a synchronous loop over a million items or a synchronous filesystem call stops every other request on that process. CPU heavy work has to move to worker threads or separate processes so the loop stays responsive. And because the runtime is single threaded for JavaScript, you scale horizontally, with clustering and container replicas, rather than by throwing more threads at the problem.
The trade is worth understanding rather than memorizing. Event driven code is excellent for I/O bound workloads: APIs, proxies, streaming, chat, anything where the server mostly waits for networks and disks. It is a poor fit for heavy computation unless you deliberately offload it. That single insight explains why Node.js dominates API backends and command line tooling in JavaScript shops, and why teams that need number crunching in the same product reach for worker threads or a separate service.
What makes this origin story useful is that it reframes the runtime. Node.js is not fast because JavaScript is fast. It is efficient because it refuses to hold a thread hostage while waiting. Every performance guideline in the ecosystem, from keeping request handlers async to putting blocking work behind a queue, traces back to the same frustration Dahl had with servers of the late 2000s. Knowing the reason behind the rule makes it much easier to apply the rule correctly.