[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Linux Kernel scheduling



On Fri, Mar 30, 2001 at 03:32:30PM +0530, Ambar Roy wrote:
> > Not necessarily. You could use thread pooling to get fewer threads to
> serve
> > that many connections. All the appservers in the market do this.
> Even with thread pooling, i can still maintain only 1 open connection per
> thread at a time. Basically here we are making a server, which needs to
> maintain an open connection with each connected client.

If the average time a connection is open is relatively small, you
should still be ok. I'd start with a small number of threads and 
increase them only when the server becomes unresponsive by running
out of threads.

	-Arun