摘要: 负载均衡算法:rest接口第几次请求数 % 服务器集群总数量 = 实际调用服务器位置下标 (每次服务重启后rest接口计数从1开始) List<ServiceInstance> instances = discoveryClient.getInstances("XXX");例:List[0] ins 阅读全文
posted @ 2020-09-29 11:17 白水0o 阅读(95) 评论(0) 推荐(0) 编辑