- 论坛徽章:
- 0
|
开始学习LVS,这个帖子俺就作为一个问题集,记录一些自己无法理解以及因为实际条件限制而无法验证的问题,同时希望各位前辈能够给予指点.
今天第一个问题:概念相关
IPVS的八种调度算法中有一种叫做
带复制的基于局部性最少链接(Locality-Based Least Connections with Replication)
"带复制的基于局部性最少链接"调度算法也是针对目标IP地址的负载均衡,目前主要用于Cache集群系统。它与LBLC算法的不同之处是它要维护从一个目标IP地址到一组服务器的映射,而LBLC算法维护从一个目标IP地址到一台服务器的映射。该算法根据请求的目标IP地址找出该目标IP地址对应的服务器组,按"最小连接"原则从服务器组中选出一台服务器,若服务器没有超载,将请求发送到该服务器,若服务器超载;则按"最小连接"原则从这个集群中选出一台服务器,将该服务器加入到服务器组中,将请求发送到该服务器。同时,当该服务器组有一段时间没有被修改,将最忙的服务器从服务器组中删除,以降低复制的程度。
查了下英文资料
The locality-based least-connection with replication (LBLCR) scheduling algorithm is also for destination IP load balancing. It only differs from the locality-based least-connection (LBLC) scheduling as follows: the load balancer maintains mappings from a target to a set of server nodes that can serve the target. Requests for a target are assigned to the least-connection node in the target's server set. If all the node in the server set are over loaded, it picks up a least-connection node in the cluster and adds it in the sever set for the target. If the server set has not been modified for the specified time, the most loaded node is removed from the server set, in order to avoid high degree of replication.
有这么两个问题
1、中文资料中的服务器组(英文资料中的target)和集群(cluster)之间是什么关系?
2、个人对上一个问题的理解是,服务器组是这个集群的一部分,那这个集群中除了这个服务器组以外的那部分是做什么用的?
呵呵,问题可能很小白了。还是希望前辈指条光明大道! 谢谢 |
|