3 ms·
I have a Node service where I get tens of thousands requests a second and I still thought Node was single threaded. Where can I read about this?
by Kiro 7y ago
I have a Node service where I get tens of thousands requests a second and I still thought Node was single threaded. Where can I read about this?
- rclayton 7y agoThe event loop is single threaded. Async tasks are executed on I/O threads which are configurable. So if your app is I/O bound, the event loop will typically dequeue tasks pretty quickly allowing lots of requests.