Nginx平滑的基于权重的轮询算法实现

上传:Sysuzwq 浏览: 6 推荐: 0 文件:PDF 大小:38.47KB 上传时间:2021-01-16 22:46:14 版权申诉
Nginx平滑的基于权重轮询算法描述为: Algorithm is as follows: on each peer selection we increase current_weight of each eligible peer by its weight, select peer with greatest current_weight and reduce its current_weight by total number of weight points distributed among peers. 算法执行2步,选择出1个当前节点: 每个节点,用它们的当前值加上它们自己的权
上传资源
用户评论