commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: [exec] ThreadPool?
Date Sun, 25 Oct 2009 09:37:59 GMT
Hi Ryan,

positive feedback is always welcome ... :-)

Regarding thread pool - I'm aware of the limitation and will have a look
at it.

Siegfried Goeschl

Ryan McKinley wrote:
> Hello-
>
> I just switched from my own exec wrappers to commons exec, and it is
> much better -- thank you thank you!
>
> However, one thing I notice (especially while profiling) is that every
> task and watchdog gets a new Thread.  This is ok -- but gets kinda
> overwhelming with lots of short lived processes (my app keeps ~20
> processes running, some may finish in a few millis -- some may take
> hours).
>
> Are there any plans/desire to move to using a thread pool?  The nice
> java concurrency stuff was added in 1.5, so that may be off the table,
> but there could be simple Thread reuse strategies that minimize thread
> creation/destruction.  Or perhaps written in a way that a 1.5 pluggable
> Thread Pool would be possible?
>
> thanks
> ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message