为什么客户端负载均衡器会像Ribbon一样? [英] Why client-side load balancers like Ribbon?

查看:134
本文介绍了为什么客户端负载均衡器会像Ribbon一样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Netflix使用功能区(Ribbon),Ribbon在其术语中是客户端负载平衡器".与传统的负载均衡器相比,客户端负载均衡器的用例和优势是什么? Ribbon和其他Netflix OSS服务是特定于AWS的,还是可以在其他上下文中使用?

Netflix makes use of Ribbon, which is in their terms a "client-side load-balancer". What are the use-cases and advantages of a client-side load-balancer compared to a traditional load-balancer? Is Ribbon, and other Netflix OSS services AWS -specific or can they be used in other contexts?

推荐答案

使用功能区已经提到,您不需要额外的负载平衡器.如果需要,您还可以为每个客户端配置不同的平衡算法.起初我也有些惊讶,但这确实很有意义.

As already mentioned by using Ribbon you don't need an additional load balancer. You can also configure the balancing algorithm for each client differently, if you need to. At first I was a bit surprised also, but it does make a lot of sense.

当前,大部分使用Netflix OSS的Spring Cloud独立于AWS.

Currently Spring Cloud, which uses Netflix OSS for most part, is independent of AWS.

我制作了一个小的POC,如果需要,您可以在此处查看

I have made a small POC that you can check out here if want.

这篇关于为什么客户端负载均衡器会像Ribbon一样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆