3 ms·
Quoted from the documentation: "Every request is wrapped in a Node Fiber". So...essentially, this behaves like a traditional web server? A process listens for
by HerroRygar 15y ago
Quoted from the documentation: "Every request is wrapped in a Node Fiber".
So...essentially, this behaves like a traditional web server? A process listens for incoming connections, then spins up a new process/thread/fiber to handle the request?
- maccman 15y agoNo - a Fiber is completely different to a process/thread. The server is still evented. https://github.com/laverdet/node-fibers https://github.com/laverdet/node-fibers
- tjholowaychuk 15y agoeach "fiber" still consumes a relatively large stack, so in effect you're right