Ribbon负载均衡-2.3.0
2021-06-25 17:58:49 6 举报
Ribbon负载均衡-2.3.0
作者其他创作
大纲/内容
Server
WeightedResponseTimeRule
ClientConfigEnabledRoundRobinRule
~ roundRobinRule:RoundRobinRule
abstractPredicateBasedRule
+ getPredicate():AbstractServerPredicate
ILoadBalancer
+ chooseServer(Object key):Server
RibbonLoadBalancerClient
RetryRule
~ subRule:IRule = RoundRobinRule~ maxRetryMillis:long = 500
BestAvailableRule
- loadBalancerStats:LoadBalancerStats
abstract AbstractLoadBalancer
PrimeConnectionListener
ServiceInstanceChooser
+ choose(String serviceId):ServiceInstance
IRule
+ choose(Object key):Server
LoadBalancerInterceptor
- loadBalancer:LoadBalancerClient
LoadBalancerClient
ZoneAvoidanceRule
- compositePredicate:CompositePredicate
RoundRobinRule
RandomRule
ClientHttpRequestInterceptor
AvailabilityFilteringRule
- predicate:AbstractServerPredicate
DynamicServerListLoadBalancer
ZoneAwareLoadBalancer
IClientConfigAware
abstract AbstractLoadBalancerRule
BaseLoadBalancer
# rule:IRule = RoundRobinRule
0 条评论
下一页