3 ms·
I think being I/O bound is orthogonal to whether you need kqueue or epoll. You could be I/O bound on a small number of simultaneous sockets, in which case sele
by chubot 11y ago
I think being I/O bound is orthogonal to whether you need kqueue or epoll.
You could be I/O bound on a small number of simultaneous sockets, in which case select() would work fine. Or you can be I/O bound on a lot, in which case select() would take too much CPU by scanning the descriptor table repeatedly.
http://stackoverflow.com/questions/970979/what-are-the-differences-between-poll-and-select http://stackoverflow.com/questions/970979/what-are-the-diffe...
- kogir 11y agoOh, that makes sense. Older servers couldn't handle enough clients for connection related limits to matter.