Re: [Libevent-users] Two questions...

2007-11-29 Thread arthur
" <[EMAIL PROTECTED]> To: "arthur" <[EMAIL PROTECTED]> Cc: "Marco Bambini" <[EMAIL PROTECTED]>; Sent: Thursday, November 29, 2007 11:04 AM Subject: Re: [Libevent-users] Two questions... > On Nov 5, 2007 11:52 AM, arthur <[EMAIL PROTECTED]>

Re: [Libevent-users] Two questions...

2007-11-29 Thread Niels Provos
On Nov 5, 2007 11:52 AM, arthur <[EMAIL PROTECTED]> wrote: > 2. one process (I didn't use thread) can only have a limited number of > fd's -> fork multiple processes to more accept client connection Some event backends do not deal with fork, for example, kqueue file descriptors do not surive acros

Re: [Libevent-users] Two questions...

2007-11-05 Thread Marc Lehmann
On Mon, Nov 05, 2007 at 02:52:08PM -0500, arthur <[EMAIL PROTECTED]> wrote: > 2. one process (I didn't use thread) can only have a limited number of > fd's -> fork multiple processes to more accept client connection I am not aware of any such limitation. Both per-process (ulimit) and per-system se

Re: [Libevent-users] Two questions...

2007-11-05 Thread arthur
"Marco Bambini" <[EMAIL PROTECTED]> Cc: Sent: Monday, November 05, 2007 10:37 AM Subject: Re: [Libevent-users] Two questions... > On 11/5/07, Marco Bambini <[EMAIL PROTECTED]> wrote: > > - I am interested in using it in a high load server I am writing, > > idea

Re: [Libevent-users] Two questions...

2007-11-05 Thread Niels Provos
On 11/5/07, Marco Bambini <[EMAIL PROTECTED]> wrote: > - I am interested in using it in a high load server I am writing, > ideally it should handle some thousands of TCP/IP concurrent > connections ... actual implementation is one thread per connection > architecture with a select statement for eac

Re: [Libevent-users] Two questions...

2007-11-05 Thread Nick Mathewson
On Mon, Nov 05, 2007 at 03:49:40PM +0100, Marco Bambini wrote: > Hi guys, > > I just examined the libevent library and I found it very interesting. > I have two questions > > - what about its license? can I use it in a commercial (not open > source) project? The license is the so-called "

[Libevent-users] Two questions...

2007-11-05 Thread Marco Bambini
Hi guys, I just examined the libevent library and I found it very interesting. I have two questions - what about its license? can I use it in a commercial (not open source) project? - I am interested in using it in a high load server I am writing, ideally it should handle some thousands