On Sat, Nov 18, 2006 at 05:53:24PM -0500, Roger Clark wrote:
> For instance, the maximum number of fds usable by select() on Win32
> (or other platforms) is low compared to the number of potential
> connections needed by a high-throughput HTTP server.

Check out the C code; it's all there. :)

On most platforms, the number of FDs passed to select() is not
actually limited by the kernel; the only limitation is on the size of
the fd_set structure.  But libevent doesn't use fd_set.  On unixlike
systems, when select() is used, it builds its own bitfields; on
Windows, it builds a counted array of fds.

Of course, as noted, select() is very inefficient, and isn't used when
libevent can avoid it.

Check the list archives for some IOCP discussion.  (Generally, it's a
good idea to check the archives before posting about anything.)

yrs,
-- 
Nick Mathewson

Attachment: pgpq2XTaKTZU8.pgp
Description: PGP signature

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to