[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: >1024 connections in slapd / select->poll



On Mon, Nov 15, 2004 at 02:47:34PM -0800, Howard Chu wrote:
> lists around. But on a heavily loaded server with thousands of active 
> sessions, the fact is that your list of interesting descriptors is not 
> static. Ultimately the server must iterate across all the thousands of 
> descriptors, because the majority of them are probably active, and the 
> server must insert and delete descriptors from the list continuously, 
> because client sessions tend to come and go continually.

All true, but the argument I think is that epoll has no inherent limits, and is
optimal for many idle connections. With thousands of active connections I think
a central select/poll/epoll/whatever is broken anyway. Only a SMP machine with
a descriptor-passing architecture might help here.

Volker

Attachment: pgpJQZfKzreRM.pgp
Description: PGP signature