Ribbon (load balancing)

Ribbon is a load balancer released by Netflix that helps control the behavior of HTTP and TCP clients. After configuring the address list of the service provider for Ribbon, Ribbon can automatically help service consumers to request based on a certain load balancing algorithm. Ribbon provides many load balancing algorithms by default, such as round robin, random, etc. Of course, we can also implement a custom load balancing algorithm for Ribbon. In SpringCloud, when Ribbon is used in conjunction with Eureka, Ribbon can automatically obtain the address list of service providers from EurekaServer, and based on the load balancing algorithm, request an instance of one of the service providers (for service reliability, a microservice may deploy multiple instances).

Last updated