in reply to Re: epoll or libevent
in thread epoll or libevent

Because I need to write server for about 10000 simultaneous connections, while select() support only first 1024 FDs.

Replies are listed 'Best First'.
Re: Re: Re: epoll or libevent
by perrin (Chancellor) on Feb 10, 2004 at 18:13 UTC
    Then you can try Inline::C or SWIG. However, I wonder if you will really be able to handle 10000 connections with a perl-based server without running slowly, since you have to handle them sequentially and either keep all of the state in memory or switch it in and out of disk storage, which would slow things down even more.