I've never been able to get Linux to give me this many file descriptors.  If you can convince your OS to give you enough fds, handling 100,000 idle connections is no more difficult than handling one idle connection.  The OS feature that polls for activity is O(1) over the number of fds to poll.  The memory your app needs to keep each connection alive is minimal, and of course scales linearly.<p>People like throwing around the number 100,000... but this is really nothing to be excited about.  Having 100,000 users is much more exciting than having 100,000 sockets connected from 127.0.0.1...