首页> 外国专利> Method for allocating web sites on a web server cluster based on balancing memory and load requirements

Method for allocating web sites on a web server cluster based on balancing memory and load requirements

机译:基于平衡内存和负载需求在Web服务器群集上分配网站的方法

摘要

A method for operating a server cluster that includes N server nodes that service client requests. Each client request is directed to one of a plurality of sites hosted on the server cluster. Each site is identified by a domain name, and each server node is identified by an address on a network connecting the clients to the server nodes. The computational resources required to service the requests to each of the sites over a first time period are measured and used to group the sites into N groups. Each group is assigned to a corresponding one of the server nodes. The groups are chosen such that, for each pair of groups, the difference in the sum of the measured computational resources is within a first predetermined error value. Configuration information defining a correspondence between each of the sites and one or more of the server nodes assigned to the groups containing that site is then provided to a router accessible from the network. The groupings are periodically updated by measuring the computational resources required to service the requests to each of the sites over a second time period; and grouping the sites into N new groups. The new groups are constructed by swapping sites between the previous groups. The new groups are constructed such that, for each pair of new groups, the difference in the sum of the measured computational resources over the second time period is within a second predetermined error value. The new grouping that satisfies the second error condition and for which the new groups differ from the previous groups by as few site swaps as possible is preferred.
机译:一种用于操作包括服务于客户端请求的N个服务器节点的服务器群集的方法。每个客户端请求都定向到服务器群集上托管的多个站点之一。每个站点由域名标识,每个服务器节点由将客户端连接到服务器节点的网络上的地址标识。测量在第一时间段内为每个站点的请求提供服务所需的计算资源,并将其用于将站点分为N组。将每个组分配给相应的一个服务器节点。选择组,使得对于每对组,所测量的计算资源的总和之差在第一预定误差值之内。然后将定义每个站点与分配给包含该站点的组的一个或多个服务器节点之间的对应关系的配置信息提供给可从网络访问的路由器。通过测量在第二时间段内向每个站点提供请求所需的计算资源,可以定期更新分组。并将网站分为N个新组。通过在以前的组之间交换站点来构造新的组。构造新的组,使得对于每对新的组,在第二时间段内测得的计算资源之和的差在第二预定误差值之内。满足第二个错误条件且新组与先前组的区别在于前者尽可能少的站点交换的新组是首选。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号