Blogs
A few weeks ago I blogged about Tomcat's JNI native library. Recently, I have been at a client site trying to squeeze every bit of speed out of the servers while running on a deployment with JBoss-Tomcat. Now, I realized that you could not just run the standard Tomcat APR code because JBoss makes their own customizations to get Tomcat to run. Rather, JBoss distributes what they call JBoss Native (version 2.0.1 will work fine with JBoss AS 4.0.x) -- their own version of the Tomcat APR. The installation is fairly straight forward, although JBoss does not distribute OS X binaries (see wiki).
But how does it perform? Since I was at a client site and we were running performance tests on the system and hammering it with hundreds of concurrent users, I thought I would see how much speed I could get from the native code. For most processes, I was seeing as high as 20-25% speed boost! Moral of the story... native code rocks!!