-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eric,
On 8/13/2009 11:39 AM, Eric B. wrote: > That being said, I was leaning towards using the NIO connector for my > installation. However, I was pretty surprised and shocked when reading > "Tomcat - The Definitive Guide 2nd Edition" by Jason Brittain (O'Reilly > Press), that the JIO was the fastest and most responsive when service small > text files and 9k images. That was not my experience. I ran some tests a while ago (and have yet to publish the results... sorry everyone) and my observation was that for low and medium concurrency (1, 40 simultaneous requests), just about every connector performed similarly at small file sizes (4k, 8k), while JIO started to fall behind APR (with sendfile enabled) and NIO at around 32k-64k files. All of my tests showed that Coyote APR with sendfile enabled was the fastest of all Tomcat connectors at virtually all levels of concurrency (that I tested), all files sizes (4k - 32MiB at exponential size intervals), on both Client and Server JVMs (Sun 32-bit JVM 1.6.0_13 on Linux 2.6 kernel). (Remember that while NIO may not be the fastest, it /was/ very fast, and has some other benefits not found in the APR connector). I encourage you to do your own benchmarking in your own environment: then you'll know you trust your own numbers, especially given your own configuration. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqFb/QACgkQ9CaO5/Lv0PA2EQCfZf/CAqP/chf8wAz29u0jXgm+ qgoAnRilCQEcQYt1BiA4RlbVkFUEmgR4 =YLEo -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org