Hmm. Zillions of threads are usually a bad thing :) I'd go for
multiplexing: rather than having(/creating) a thread for each request,
get a limited (apache style..?) number of threads, each handling
requests from a pool. It should greatly reduce the number of threads you
actually need to create.
> -----Original Message-----
> From: ilug-admin at linux.ie [mailto:ilug-admin at linux.ie] On Behalf Of
> Sent: 08 May 2002 15:38
> To: 'kevin lyda'; Ilug (E-mail)
> Subject: RE: [ILUG] anyone have any experience of java thread problems
> linux ?
>>> An error occured while loading
>http://www.acme.com/software/thttpd/benchmarks.html:>> Timeout on server
> Timed out while waiting to connect to www.acme.com
>> ..... perhaps if they had a multithreaded server with a seperate
> handling every client request .... :)
>> The fact of the matter is I hate Java I think it's a load of crap but
> what everyone
> uses so I just gotta live with it (I cant wait for mono to port c#
> winforms replacemnent)(hmmm not sure if I mean that or not). Anyway
> one of those webserver ->
> appserver -> database setups so between them all (when deployed within
> single VM due to performance reasons (EJB local refs) and when pounded
> a couple of hundred client requests it crashes.
>> This is why I need zillions of threads.
>>> -----Original Message-----
> From: kevin lyda [mailto:kevin at ie.suberic.net]
> Sent: Wednesday, May 08, 2002 3:22 PM
> To: Hunt, Bryan
> Subject: Re: [ILUG] anyone have any experience of java thread problems
> on linux ?
>>> On Wed, May 08, 2002 at 12:08:13PM +0100, Hunt, Bryan wrote:
> > On windows I can run the program from the console and it goes up to
> > threads so it looks
>> ok, the thing is: why? i don't mean to be a pain in asking this, but
> the fact is that the most efficient way to do something on unix is not
> always the most efficient way to do something on linux and vice versa.
> creating that many threads on a unix box is, well, insane.
>> this document is kind of interesting at looking at a single type of
> (a web server) and comparing performance among various design types:
>kevin at suberic.net "Adding manpower to a late software project
> fork()'ed on 37058400 makes it later." -- Brooks Law
> meatspace place: inle
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!