Spring Cloud Netflix provides different load balancing algorithms in order to provide different benefits to the user. Your choice of supported method depends on your needs. In the Netflix OSS nomenclature, this algorithm is called a rule. The custom rule class should have implemented an IRule base interface. The following implementations are available by default inside Spring Cloud:
- RoundRobinRule: This rule simply chooses servers using the well-known round robin algorithm, where incoming requests are distributed across all instances sequentially. It is often used as the default rule or fallbacks for more advanced rules, such as ClientConfigEnabledRoundRobinRule and ZoneAvoidanceRule. ZoneAvoidanceRule is the default rule for Ribbon clients.
- AvailabilityFilteringRule: This rule will skip servers that are marked as circuit tripped or with a high...