2 ms·
That's a fair point. Even if your accept() implementation is fine, event-driven workers would instead be select()ing on the shared socket, which can also lead t
by gdb 14y ago
That's a fair point. Even if your accept() implementation is fine, event-driven workers would instead be select()ing on the shared socket, which can also lead to a thundering herd. I think you'd need quite a few worker threads before this became an issue in practice though.
- cperciva 14y agoIndeed, it's an edge case... but it's a painful one if people do run into it.