TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Google Open Source Load Balancer in Go

323 点作者 paukiatwee超过 9 年前

13 条评论

lobster_johnson超过 9 年前
Official announcement: <a href="http:&#x2F;&#x2F;google-opensource.blogspot.com&#x2F;2016&#x2F;01&#x2F;seesaw-scalable-and-robust-load.html" rel="nofollow">http:&#x2F;&#x2F;google-opensource.blogspot.com&#x2F;2016&#x2F;01&#x2F;seesaw-scalabl...</a>.<p>Note that this is a network-level load balancer that is tightly coupled with LVS, not a Layer 7 load balancer like HAProxy.
评论 #11003911 未加载
Terretta超过 9 年前
Anycast VIPs and Direct Server Return were a couple key parts of VDN &quot;secret sauce&quot; in early to mid-2000s.<p>Cool to see this engine out in open source.<p>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&#x2F;db-less sessions, and a few other goodies, some of which you can now even find as Nginx plugins.<p>Assembling what you need is much easier now with HLS, DASH, etc., than it was in the MMS&#x2F;RTSP&#x2F;RTMP days.<p>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.
评论 #11003775 未加载
matt_wulfeck超过 9 年前
LVS load-balancing is amazing. You can use a tiny instance to load balance huge amounts of traffic since the instance itself doesn&#x27;t need to process and pass the traffic.<p>the part that makes it difficult to implement is that the hosts have to be on the same network. I didn&#x27;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&#x27;ll need to be in your own network and not the cloud to implement this.<p>Still cool nonetheless!
评论 #11003112 未加载
评论 #11003522 未加载
评论 #11003915 未加载
_joe超过 9 年前
Wikimedia&#x27;s LVS manager that does what seesaw does, although it was never &quot;advertised&quot; to the public:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;wikimedia&#x2F;PyBal" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wikimedia&#x2F;PyBal</a><p>It actually is a bit different in that it advertises VIPs via BGP, so no floating IPs are needed, but you need to be able to configure your upstream routers, and its configuration is much more flexible.
bogomipz超过 9 年前
Is this just some tooling around Quagga and LVS then? I mean if you had Quagga&#x2F;BIRD and LVS on your load balancers(not an uncommon configuation) isn&#x27;t that pretty much <i>all</i> the heavy lifting? What else does Seesaw provide, SSL termination, config management?
wereHamster超过 9 年前
How does this compare to IPVS <a href="http:&#x2F;&#x2F;www.linuxvirtualserver.org&#x2F;software&#x2F;ipvs.html" rel="nofollow">http:&#x2F;&#x2F;www.linuxvirtualserver.org&#x2F;software&#x2F;ipvs.html</a>?
评论 #11004064 未加载
评论 #11004066 未加载
zedpm超过 9 年前
Given that it&#x27;s built on top of LVS, this presumably supports UDP load balancing. If so, that&#x27;s great, as the available solutions for UDP load balancing are, to my knowledge, quite limited.
评论 #11006791 未加载
krat0sprakhar超过 9 年前
OT: I&#x27;m a Go noob and I was wondering if there&#x27;s something like requirements.txt for Go projects? Or is this usually the way to go?<p><pre><code> go get -u golang.org&#x2F;x&#x2F;crypto&#x2F;ssh go get -u github.com&#x2F;dlintw&#x2F;goconf go get -u github.com&#x2F;golang&#x2F;glog go get -u github.com&#x2F;golang&#x2F;protobuf&#x2F;{proto,protoc-gen-go} go get -u github.com&#x2F;miekg&#x2F;dns</code></pre>
评论 #11004803 未加载
评论 #11004485 未加载
评论 #11006556 未加载
评论 #11009248 未加载
评论 #11004844 未加载
ktamura超过 9 年前
How does HN&#x27;s duplicate link work? I&#x27;m asking this because I saw this thread earlier: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10998103" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10998103</a><p>Wouldn&#x27;t it be fair for that submitter to get karma points?
评论 #11006359 未加载
VeejayRampay超过 9 年前
This is not an official Google product. So why did it say Google in the title? This should be clarified.
评论 #11002712 未加载
评论 #11003182 未加载
评论 #11002585 未加载
评论 #11002540 未加载
评论 #11002537 未加载
softwaredev__超过 9 年前
I don&#x27;t want to digress too much from the main discussion, but what are the main reasons people use Go? What are the main use cases for Go? Just looking for a new programming language to learn for some of the next web apps I&#x27;ll be building.
评论 #11010932 未加载
jbeja超过 9 年前
AKA: We are not going to use this nor maintain it anymore.
jonathanoliver超过 9 年前
As much as I love Go and use it extensively for various production-grade projects, I&#x27;m wondering how suitable it really is for something like a load balancer.<p>My understanding is that Go&#x27;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&#x27;t be incorporated into the Go project directly. Cloudflare got around it and has much better performance for TLS.<p>Apart from that, GC is still a big deal and the current net&#x2F;http standard library produces a lot of garbage.
评论 #11002695 未加载
评论 #11002706 未加载
评论 #11002689 未加载
评论 #11002788 未加载
评论 #11002965 未加载
评论 #11002705 未加载