Live data from Hacker News

Google Open Source Load Balancer in Go

github.com

11–20 of 75 posts

Re: Google Open Source Load Balancer in Go

#11

This is not an official Google product. So why did it say Google in the title? This should be clarified.

> It’s worth noting that while this project comes out of Google, the open-source version is not an official Google product. So don’t expect the company to provide any official support.

The distinction is that this project is Google written/used not google supported.

Re: Google Open Source Load Balancer in Go

#13

As much as I love Go and use it extensively for various production-grade projects, I'm wondering how suitable it really is for something like a load balancer. My understanding is that Go's TLS performance is dramatically less than other C-based implementations like OpenSSL. I remember reading something about some licensing collisions between the Go project and some TLS stuff such that optimized encryption code couldn…

This is a Layer 4 load balancer. It doesn't look at the contents of packets; it only decides where they should go. So Go's TLS performance isn't relevant here.

Re: Google Open Source Load Balancer in Go

#14
LVS load-balancing is amazing. You can use a tiny instance to load balance huge amounts of traffic since the instance itself doesn't need to process and pass the traffic.

the part that makes it difficult to implement is that the hosts have to be on the same network. I didn't dive too much into the code but it looks like you also assign an additional interface to use as a VIP. I believe you'll need to be in your own network and not the cloud to implement this.

Still cool nonetheless!

Re: Google Open Source Load Balancer in Go

#16

As much as I love Go and use it extensively for various production-grade projects, I'm wondering how suitable it really is for something like a load balancer. My understanding is that Go's TLS performance is dramatically less than other C-based implementations like OpenSSL. I remember reading something about some licensing collisions between the Go project and some TLS stuff such that optimized encryption code couldn…

Premature worry (aka FUD). We run Go services that terminate TLS and handle thousands of req/sec per server and it's never been even a slight concern. CPU usage for TLS has not been measurable. GC has also not been an issue, at least wrt net/http.

Re: Google Open Source Load Balancer in Go

#17
post #4

This is not an official Google product. So why did it say Google in the title? This should be clarified.

I believe it means they want to share the code but not support it like an official product launch, but I don't know for sure.

And then withdraw the code and cancel it once it's in wide use, a la MyTracks?

Re: Google Open Source Load Balancer in Go

#19

LVS load-balancing is amazing. You can use a tiny instance to load balance huge amounts of traffic since the instance itself doesn't need to process and pass the traffic. the part that makes it difficult to implement is that the hosts have to be on the same network. I didn't dive too much into the code but it looks like you also assign an additional interface to use as a VIP. I believe you'll need to be in your own n…

Would it be possible to set this up with Digital Oceans Floating IP[1] and LVS? I know they use HA-Proxy[2,3] as a standard setup here.

[1]: https://www.digitalocean.com/community/tutorials/how-to-use-...

[2]: https://www.digitalocean.com/community/tutorials/how-to-crea...

[3]: https://www.digitalocean.com/community/tutorials/how-to-set-...

The reason I ask, I worked with one hosting provider who leveraged LVS for well over billions of impressions per month and was rock solid for all their client base.

I'm pretty interested in this, but not yet in a position to roll out a dedicated infrastructure.

Re: Google Open Source Load Balancer in Go

#20
post #5

This is not an official Google product. So why did it say Google in the title? This should be clarified.

It is a load balancer Google is using in production: http://techcrunch.com/2016/01/29/google-open-sources-its-see... Edit: Here's the official Google announcement: http://google-opensource.blogspot.com/2016/01/seesaw-scalabl...

It's not used in production, it's used in "corp" which is totally disjoint from production at Google.
Post reply on HN