Live data from Hacker News

Katran: A high-performance layer 4 load balancer

github.com

21–22 of 22 posts

Re: Katran: A high-performance layer 4 load balancer

#21
post #17
post #14

Earlier quoted context omitted.

HAProxy and network layer load balancers are very different kind of beasts. HAProxy requires, for example, you to return your traffic via HAProxy which can make HAProxy a bottleneck, requests are usually smaller than responses. HAProxy will also require you to terminate your connections which will make you lose your source IP address if you cannot get it using proxy protocol. There are also various other benefits, bu…

HAProxy can be run as a layer 4 load balancer[0]. I think your comment is assuming it's running at http layer? [0] https://www.haproxy.com/blog/layer-4-load-balancing-nat-mode...

It still requires you to terminate the connection on HAProxy. None of the things I mentioned are affected (you lose source IP without proxy protocol, return traffic must pass thru HAProxy, you can do TLS).

Re: Katran: A high-performance layer 4 load balancer

#22

Earlier quoted context omitted.

Why does nobody in this thread seem to realize that HAProxy works just fine over layer 4?

> The problem this solves is is when you are using haproxy but need redundancy or a single server is no longer capable of handling the load and you need to scale out to 2+ servers. Please describe how HAProxy running in l4 mode is a solution to this problem.

HAProxy can scale horizontally. No need to get sniffy just because you forgot HAProxy works on layer 4.
Post reply on HN