Howdy,
Don't use commons-pool for a thread pool.  Use Doug Lea's concurrency
library instead.  I should add this do the commons-pool javadoc
somewhere.  Commons-pool is excellent for all types of pooling, but not
threads, as the concurrency issues are difficult at best to overcome.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Anton Tagunov [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 30, 2003 1:37 AM
>To: Tomcat Users List
>Subject: Re[2]: [Q] Is it safe to create threads in Tomcat web-apps?
>
>Hello Srevilak!
>
>sgn> However, if the three steps are IO-bound, using multiple threads
to
>sgn> run them concurrently can lead to a big improvement.
>
>One might also consider using some kind of thread pooler in this
>setting. Perhaps one could be crafted on top of
>jakarta-commons-pool
>
>-Anton
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to