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

I believe that you can also have multiple threads accepting connections on the same fd. This lets the kernel do the scheduling which removes the need for a coordinator thread. You can then choose to handle the connection on the same thread pinned to a specific CPU (per-cpu) or have a cross-thread task queue that whatever CPU is idle can handle (work stealing).


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

Search: