Harmeet Bedi wrote:
>
> Added previous version of org.apache.avalon.util.Lock to package
> org.apache.avalon.james.util
>
> The build shoud go ok now. Hopefully the duplication in Lock.java files will
> get removed and exist only under Avalon. For now it gets the build going and
> removes block on other work.
OK, but keep in mind the old version doesn't work under severe load--even on
single processor machines. If JAMES can quickly be reworked to handle this
new class, then it should be done.
In a Servlet environment, on an Athlon 750 with 256 MB RAM, Sun JDK 1.3.0_01
HotSpot "Server", Windows 2000, I got the Lock failure (exhibited as race
conditions that should have clearly been handled by the lock) with as few
as 6 concurrent threads bombarding the server every 500 ms.
To me this is unnecceptible. I want Cocoon 2 to be able to handle the type of
load that Apache.org will see, or Slashdot, and have performance degrade
gracefully instead of intermittently sending broken links due to concurrency
issues.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]