Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't really get what the advantage of having the EventLoop running on a Threadpool instead of of a single thread is? At first it sounds like disadvantage because of more context switches.

It might be helpful if you really want to run a lot of Javascript EventLoops - but that's not the node.js programming model.



You might get more context switches, but that's preferable to having multiple cores that are left unused.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: