作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (13): 82-83,86.

• 软件技术与数据库 • 上一篇    下一篇

基于内容的Web服务器动态负载均衡算法

任国庆,杨金民,张大方   

  1. (湖南大学软件学院,长沙 410082)
  • 出版日期:2010-07-05 发布日期:2010-07-05
  • 作者简介:任国庆(1986-),男,硕士研究生,主研方向:负载均衡,软件容错;杨金民,副教授、博士;张大方,教授、博士、博士生导师

Content-based Dynamic Load-balancing Algorithm of Web Server

REN Guo-qing, YANG Jin-min, ZHANG Da-fang   

  1. (School of Software, Hunan University, Changsha 410082)
  • Online:2010-07-05 Published:2010-07-05

摘要:

研究基于内容的Web服务器动态负载均衡算法,将其中的请求类别对应的服务器数与PICK-KX算法中的K值相结合,提出一种新的算法。模拟实验结果表明,该算法可以在较高的缓存命中率和较小的服务器负载计算负荷之间取得良好的平衡。在极限情况下,经该算法均衡后的集群服务器可以返回更多的请求响应。

关键词: 内容, 缓存命中率, 负载均衡, 请求转发, Web服务器

Abstract:

The content-based dynamic load-balancing algorithm of Web server is researched. A new algorithm by combining the number of servers corresponding to the request type concerned and the K value of PICK-KX algorithm is developed based on the dynamic algorithm of load-balancing of Web server. Simulation tests show this type of algorithm achieves a better balance between higher cache hit rate and smaller servers’ load-calculation. Besides, Web server balanced by this algorithm can acknowledge more responses in limit cases.

Key words: content, cache hit rate, load-balancing, request forwarding, Web server

中图分类号: