计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (1): 155-155.

• 网络、通信与安全 • 上一篇    下一篇

支持动态负载平衡的分层消息队列模型

鲍春健,吴俊敏,许胤龙,李黄海,王文韬   

  1. 中国科学技术大学
  • 收稿日期:2006-01-04 修回日期:1900-01-01 出版日期:2007-01-01 发布日期:2007-01-01
  • 通讯作者: 鲍春健 baochj

Hierarchical Message Queue Model Supporting Dynamic Load Balancing

ChunJian Bao,,,,   

  1. 中国科学技术大学
  • Received:2006-01-04 Revised:1900-01-01 Online:2007-01-01 Published:2007-01-01
  • Contact: ChunJian Bao

摘要: 中间件技术为解决异构分布式环境下的负载平衡问题提供了有力的工具,但传统的消息中间件负载平衡的实现较为复杂,其动态参数繁多且容易带来额外开销。提出了一种分层消息队列模型,该模型中利用队列组管理器对分布式队列进行组管理,并提供了丰富的任务分配策略。在该模型的基础上提出动态负载平衡实现方案:通过基于队列的阈值阈长模型实时监控成员队列的负载情况,采用集中式调度进行负载信息搜集和负载平衡决策,结合负载迁移和队列组管理进行过载处理。

关键词: 消息队列, 动态负载平衡, 分布式系统

Abstract: Middleware technology provides a powerful tool for solving the load balancing under the isomerous and distributed environment. But the implementation of traditional MOM load balancing system is very complex. It needs such a great deal of dynamic parameters that significant amount of overheads are necessary and unavoidable. In this paper, we propose a hierarchical message queue model, which manages distributed queues utilizing queue group manager and affords a lot of strategies of task assignment. Then, an implementation scheme of dynamic load balancing based on this model is presented as follows: monitoring load balancing of member queue by message queue threshold model, using concentrated scheduling to acquire of load information and make decision, and dealing with over loading by load migration and the management of message queue group.

Key words: message queue, dynamic load balancing, distributed system