[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Unix socket performance numbers
|
Hi,
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?
Cheers,
Silvio
On 11/20/2015 12:32 PM, Simone Bordet wrote:
Hi,
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
hungry.
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.