It looks like this issue only occurs when the XSLT transformation is done on
the directory listing. Which is not an out of box configuration so there is
no worry for DOS (in case anyone is wondering).
Otherwise - looks interesting. cacheTTL and cacheMax should be configurable
at servlet init time.
-Tim
Rafael H. Schloming wrote:
Hi,
I've been looking into the performance problems associated with many
concurrent requests of large directories. After doing some informal
benchmarking I've come up with the attached patch that improves
performance in this scenario. The patch adds a size limited Map with a 5
second timeout for caching rendered directory listings. My tests show a
significant performance improvement and the server no longer keels over
from OutOfMemory exceptions at higher concurrency levels.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]