https://issues.apache.org/bugzilla/show_bug.cgi?id=56415

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
There are two performance-related items of note when switching from APR to NIO.

The first is with SSL. If you are having Tomcat terminate SSL, you will see a
noticeable drop in performance when compared to OpenSSL (which APR uses).
Something like a 25% drop wouldn't surprise me. It will depend upon your load
profile.

The second is that you will notice CPU usage on the server increase a bit over
use of APR. You may notice CPU usage triple or quadruple when compared to
running APR without any other load on the server. PLEASE NOTE THAT I'M
COMPARING ONLY THE OVERHEAD OF TOMCAT'S CONNECTORS, HERE. That means that if
your server is running at 60% CPU load most of the time, I'm not claiming that
you'll suddenly need 240% of your CPU in order to keep up. Remember that
Tomcat's connector only uses a tiny slice of the CPU compared to whatever your
own web application is doing.

To switch to the NIO connector, please read Tomcat's user guide. There is a
section on Connectors which for some reason does not link to the Connectors
section in the "Configuration" guide. The configuration guide is what you want.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to