We talked about this a while back, and I thought the conclusion was to 
do it.  It's not very complex, anyway.  But let's revive the debate....


Geoff Talvola wrote:

> At 07:33 PM 6/3/2001 -0400, Jay Love wrote:
> 
>> I've committed an update to use a dynamic number of threads in 
>> ThreadedAppServer.  All the plumbing is there and works well.  I'm 
>> not thrilled with the actual algorithm which determines when to 
>> add/delete threads.  That code is in 
>> ThreadedAppServer.manageThreadCount.  If someone wants to work on 
>> this, please do.  We should take a look at how apache does it.  We 
>> can be a little more aggressive than them though, as we're spawning 
>> and collecting threads, not processes.
> 
> 
> Threads are pretty lightweight, so what's wrong with just creating all 
> needed threads right up front?  Variable numbers of threads just seems 
> like unnecessary extra complexity to me.
> 
> - Geoff
> 
> 
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-devel




_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to