Live data from Hacker News

Katran: A high-performance layer 4 load balancer

github.com

1–10 of 22 posts

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

#3
post #2

Fun project. Would anyone actually ever run something like this in production over something like HAProxy?

Congrats, you won HN humor of the day award.

FYI, Facebook runs Katran in production: https://code.facebook.com/posts/1906146702752923/open-sourci...

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

#4
post #3
post #2

Fun project. Would anyone actually ever run something like this in production over something like HAProxy?

Congrats, you won HN humor of the day award. FYI, Facebook runs Katran in production: https://code.facebook.com/posts/1906146702752923/open-sourci...

Yeah, but will it scale to the 9 billion users my growth chart has me at by year 3?

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

#5
An interesting idea to load balance at L4 so as not to terminate the TCP sessions (for speed). Normally this constrains the network rather as you can't route the output packets normally after that (they need to be routed to a vLAN) but encapsulating with IPIP means the load balancer output can go straight back into the normal routing layer.

Not constraining the output of the load balancer to a single vLAN really helps for larger networks.

Reading the readme I see they've made every effort to process the packets as little as possible to it seems likely that this will run at line speed.

For L4 the main competitor is LVS which scales pretty well in my experience but probably not as well as this.

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

#7
They talk about being compatible with RSS.

What is RSS in this context, ? My guess is that it's not this RSS https://en.wikipedia.org/wiki/RSS because I do not see how/why you should need any rule at L4 to maintain compatibility with an XML based protocol.

Is it possible they talk about : https://en.wikipedia.org/wiki/Network_interface_controller#R... ?

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

#8
post #7

They talk about being compatible with RSS. What is RSS in this context, ? My guess is that it's not this RSS https://en.wikipedia.org/wiki/RSS because I do not see how/why you should need any rule at L4 to maintain compatibility with an XML based protocol. Is it possible they talk about : https://en.wikipedia.org/wiki/Network_interface_controller#R... ?

Receive Side Scaling, not the syndication format :)

There's more info at https://code.facebook.com/posts/1906146702752923/open-sourci...

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

#9
post #3
post #2

Fun project. Would anyone actually ever run something like this in production over something like HAProxy?

Congrats, you won HN humor of the day award. FYI, Facebook runs Katran in production: https://code.facebook.com/posts/1906146702752923/open-sourci...

In fairness, the question could be interpreted as "would anybody, who is not facebook, ever run this in production?".

This is an interesting question the answer to which is definitely not certain :)

Post reply on HN