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

计算机工程 ›› 2009, Vol. 35 ›› Issue (13): 43-45. doi: 10.3969/j.issn.1000-3428.2009.13.015

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

一种基于触发机制的轮转算法

秦继伟1,朱 珊1,郑 笛2   

  1. (1. 军事经济学院审计系,武汉 430035;2. 国防科技大学计算机学院,长沙 410073)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-07-05 发布日期:2009-07-05

Round Robin Algorithm Based on Trigger Mechanism

QIN Ji-wei1, ZHU Shan1, ZHENG Di2   

  1. (1. Dept. of Audit, Military Economy Academy, Wuhan 430035; 2. School of Computer, National University of Defense Technology, Changsha 410073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-07-05 Published:2009-07-05

摘要: 在负载平衡技术中,必须使用合适的算法进行成员选择,以决定由哪个副本对象处理到来的客户请求。传统轮转负载平衡算法只能在某些特定条件下平衡负载。针对该缺点,结合普通轮转算法和加权算法的优点,提出一种基于触发机制的轮转算法。实验结果表明,该算法能感知后段资源。

关键词: 负载平衡, 中间件, 触发, 轮转

Abstract: It is necessary to use an appropriate algorithm in load balancing technology to choose a member, and determine which copy object to deal with the dispatched requests. Aiming at the problem that the traditional round robin algorithm can only implement load balancing in some occasions, this paper presents a round robin algorithm based on trigger mechanism which integrates the advantages of traditional round robin algorithm and weight-based round robin algorithm. Experimental results show that this algorithm can sense the changing of the background resources.

Key words: load balancing, middleware, trigger, round robin

中图分类号: