Live data from Hacker News

Google Open Source Load Balancer in Go

github.com

21–30 of 75 posts

Re: Google Open Source Load Balancer in Go

#21

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

It's made by google, used by google, blogged about by google, and hosted on google's github. it's officially google, it's not officially a product.

Re: Google Open Source Load Balancer in Go

#22
post #17
post #4

Earlier quoted context omitted.

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?

MyTracks was never in wide use, and its source code certainly wasn't.

Re: Google Open Source Load Balancer in Go

#23
post #17
post #4

Earlier quoted context omitted.

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?

It's open source, it they loose interest in it anybody can pick up the code and continue supporting it.

Re: Google Open Source Load Balancer in Go

#25

And I allowed myself to do the code quality analysis on the project: https://codebeat.co/projects/github-com-google-seesaw ;)

That analysis is pretty bad, the code is clean and straightforward, yet that tool reports a bunch of random non-issues.

Like near-copy pasta: https://codebeat.co/projects/github-com-google-seesaw/report... ?

Re: Google Open Source Load Balancer in Go

#26
Anycast VIPs and Direct Server Return were a couple key parts of VDN "secret sauce" in early to mid-2000s.

Cool to see this engine out in open source.

To build a VPN edge you also need cooperative tiered caches with some very counterintuitive cache admission and eviction algorithms, unicast front end with p2p (for vod) or multicast (for live) back end, multi-datacenter event aggregation and correlation, cookieless/db-less sessions, and a few other goodies, some of which you can now even find as Nginx plugins.

Assembling what you need is much easier now with HLS, DASH, etc., than it was in the MMS/RTSP/RTMP days.

As of last couple years, you could almost assemble a viable global VDN with off the shelf open source parts. If the open compute project keeps up its good work, the physical kit gets affordable too.

Re: Google Open Source Load Balancer in Go

#27
post #17
post #4

Earlier quoted context omitted.

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?

It's distributed under Apache License 2.0. So it doesn't really matter, you'll still have the source.

Re: Google Open Source Load Balancer in Go

#29

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…

In AWS, you can design subnets within a VPC, which would put the hosts in the same network, and presumably work for LVS load balancing?

Re: Google Open Source Load Balancer in Go

#30

Earlier quoted context omitted.

That analysis is pretty bad, the code is clean and straightforward, yet that tool reports a bunch of random non-issues.

Like near-copy pasta: https://codebeat.co/projects/github-com-google-seesaw/report... ?

Well, there is `EngineCon` interface [1]. And two types (`engineIPC` [2] and `engineRPC` [3]) that implement the interface. That's why there is some repetition. So, what?

[1]: https://github.com/google/seesaw/blob/master/common/conn/con... [2]: https://github.com/google/seesaw/blob/master/common/conn/ipc... [3]: https://github.com/google/seesaw/blob/master/common/conn/rpc...

Post reply on HN