-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 rhull,
rhull wrote: >> Also, are you using apr? IF you are serving static content, apr should >> help a lot (but maybe not if you're planning on caching them in memory). >> Not sure if a memory cache is going to buy you that much. > > Sorry, I'm not sure what "apr" is (besides April, American Public Radio, > etc). APR is the Apache Portable Runtime. If you spend any time on the list, you'll know that a bunch of people have problems getting it working. Apparently, tossing the library into the native libraries path is very difficult for some people. APR allows Tomcat to use some native code to significantly improve performance for several operations including serving static files from the disk (perhaps even from memory... I dunno, you'll have to read more about it) and managing SSL connections (uses OpenSSL for encryption, instead of the Java stuff). You might want to read about this library to see if it would help at all. Since you're load testing, you could also do a test to see if it helps at all. > Yes, even with plain OS file caching, I'm not sure if the memory cache will > buy me much initially. I don't think I'm going to know until I get to a > point where my code can realistically test the difference. It's possible > that the amount of data could significantly increase such that I can still > viably keep it in memory, but the OS may not cache that many small files. That's probably something you can tweak, but you'll have to ask people who know a lot about your particular OS and other operating environment settings. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuJUn9CaO5/Lv0PARAn48AKCdiCDzdL4kVImbvSqubPfdqV3qCwCePXMb pUju5KIUCymI8ZenSQSLsUk= =FFVw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]