DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19614>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19614

Poor performance under load





------- Additional Comments From [EMAIL PROTECTED]  2003-08-13 12:59 -------
In my tests notifyAll() doesn't have a mayor impact.
Using notify() would require other changes as well.
(The thread that woke up should notify the next thread after getting its object)

I only removed the "synchronized" from the borrowObject method.
Performance now much better.
See also the results from the new
org.apache.commons.pool.performance.PerformanceTest

This test uses the SleepingObjectFactory (includes penalty for heavy operations)
makeObject      500ms
destroyObject   250ms
validateObject   30ms
activateObject   10ms
passivateObject  10ms

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

Reply via email to