微服务架构下的负载均衡: Kubernetes DNS 和 Enovy 你会选哪个?

2020-01-16 19:17:15 +08:00
 feng32

Kubernetes 官方文档有一段这样的描述:

With Kubernetes you don’t need to modify your application to use an unfamiliar service discovery mechanism. Kubernetes gives Pods their own IP addresses and a single DNS name for a set of Pods, and can load-balance across them.

Envoy 官方文档有一段这样的描述:

Because Envoy is a self contained proxy instead of a library, it is able to implement advanced load balancing techniques in a single place and have them be accessible to any application.

有用过的同学可以介绍下这两者的负载均衡具体有哪些异同吗?

1824 次点击
所在节点    程序员
5 条回复
feng32
2020-01-16 19:18:06 +08:00
enovy -> envoy
artandlol
2020-01-16 19:24:38 +08:00
gloo
mritd
2020-01-17 10:11:44 +08:00
DNS 生产环境肯定不靠谱啊,你对 域名请求也是请求固定的 svc 域名,然后 svc 给你负载,但是不管怎么样,DNS 有缓存 😂
Tinet
2020-01-17 11:28:04 +08:00
envoy
pmispig
2020-01-17 13:34:18 +08:00
都不选,可以选 etcd 之类的

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/638531

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX