News for hackers. Stuff that matters.
Re:We 30x'd our Node parallelism by Kiro on Friday December 13, 2019 @01:52PM (#21784255)
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?
Re:We 30x'd our Node parallelism by rclayton on Friday December 13, 2019 @08:49PM (#21787256)
The 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.