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



On 20 November 2015 at 22:11, Silvio Bierman <sbierman@xxxxxxxxxxxxxxxxxx> wrote:
Hello Greg,

Can you shed any light on why HAProxy is so much faster than Jetty in handling SSL?


As Simone has said, it is a java implementation.  Even if it was changed to a native impl, because of the style of API there would be a lot of java to native boundary cross, potentially with data copying, so I don't think it would be much faster.

Potentially they could do something with a new API that better supported ByteBuffer... maybe even direct bytebuffers.


To be honest I am really satisfied with our current setup and very impressed with how Jetty handles itself under load. But if there are significant advantages to different setups than maybe we should reconsider.


Well this is all highly experimental and poorly tested.. So if you are happy with your current setup, then there is probably little reason to change.  Simplicity is also a powerful feature... more so than throughput for many applications.

However, if you do need better SSL throughput, then this approach is something to consider.

cheers
 

--

Back to the top