Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Unix socket performance numbers


Thanks. I would expect a speed difference between Java and native code but thought that SSL handling was part of the native JVM code. Therefore I suspected a slight difference if any at all. The results Greg shows us are very far apart.

Perhaps I need to do a test setup. I would have leaned toward nginx before, is there a reason why I should prefer HAProxy?



On 11/20/2015 12:32 PM, Simone Bordet wrote:

On Fri, Nov 20, 2015 at 12:11 PM, Silvio Bierman
<sbierman@xxxxxxxxxxxxxxxxxx> wrote:
Hello Greg,

Can you shed any light on why HAProxy is so much faster than Jetty in
handling SSL?
Historically, the JDK implementation of TLS (which we use in Jetty)
has been known for not being particularly fast and for being memory
I'm not surprised that a C implementation based on OpenSSL outperforms
JDK's, even though the JDK is adding intrinsics to exploit native CPU
instructions, so perhaps, eventually, it may compare.

Back to the top