Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why client-side load balancers like Ribbon?

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?

like image 244
user1340582 Avatar asked Apr 19 '15 13:04

user1340582


People also ask

Is ribbon client a side load balancer?

Ribbon is a client-side load balancer that gives you a lot of control over the behavior of HTTP and TCP clients. Feign already uses Ribbon, so, if you use @FeignClient , this section also applies. A central concept in Ribbon is that of the named client.

What load balancing strategy does ribbon follow?

The Ribbon mainly provides client-side load balancing algorithms. It is a client-side load balancer that provides control over the behavior of HTTP and TCP client. The important point is that when we use Feign, the Ribbon also applies.

Which of the following is an advantage of client side load balancing?

Let us take a quick look at the advantages of client side load balancing. No More Single Point Of Failure In A Cluster: In a cluster fronted by a single load balancer there is always risk if the cluster-nodes becoming unreachable if the load balancer goes down. Remember - failure is a norm, not an exception.

What is client side load balancer?

Client-side load balancing is a feature that allows gRPC clients to distribute load optimally across available servers. This article discusses how to configure client-side load balancing to create scalable, high-performance gRPC apps in . NET.


1 Answers

One reason for using client-side load balancer can be performance. With client side balancer you can directly contact desired service with one network hop (after initial discovery of course); with traditional load-balancer you need two hops - see my very unprofessional test.

Unfortunately I don't have that much experience with Netflix OOS, I just deduce from documentation that at least Spring Cloud Netflix can run also e.g. on Cloud Foundry.

like image 183
sodik Avatar answered Oct 21 '22 00:10

sodik