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 21 November 2015 at 05:39, Paul Houle <ontology2@xxxxxxxxx> wrote:
If you feel the need for speed,  use unix sockets,  they really are faster than TCP/IP.  In some cases with microservices you can put a number of them on one machine and use every means necessary to get latency down and sockets are good for that.  Switching socket type is easy,  so you can move the service off the machine when you want to.

Interestingly enough, my unscientific testing has not yet shown a huge benefit for the unix domain sockets over local TCP/IP.   I'm sure there are big benefits as they are widely reported and the reason unix domain sockets persist.....  but I've not YET found the exemplar traffic to make them a no-brainer choice.  Only an incremental improvement if you are offloading the TLS anyway.



Back to the top