Ribbon核心組件IRule

IRule: 根據特定算法從服務列表中選取一個要訪問的服務 實現類: com.netflix.loadbalancer.RoundRobinRule 輪詢 com.netflix.loadbalancer.RandomRule 隨機 com.netflix.loadbalancer.RetryRule 先按照RoundRobinRule的策略獲取服務,如果獲取服務失敗則在指定時間內會進行重試,獲取
相關文章
相關標籤/搜索