Reputation: 437
select, poll and epoll can help us to implement high performance server.
Why there is no limit to the number of File Descriptor in poll and epoll, but select does have the limit ?
Upvotes: 1
Views: 1318
Reputation: 4934
Select has an artificial limit hard coded in the library to FD_SETSIZE, which is often 1024. http://www.kegel.com/c10k.html covers the c10k problem and goes over each method (select, poll, epoll, iocp, etc)
Upvotes: 1