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

计算机工程 ›› 2012, Vol. 38 ›› Issue (5): 41-43,46. doi: 10.3969/j.issn.1000-3428.2012.05.010

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

一种中间件数据库集群的负载均衡算法

张树本,徐陈锋,奚宏生   

  1. (中国科学技术大学自动化系网络传播系统与控制安徽省重点实验室,合肥 230027)
  • 收稿日期:2011-08-10 出版日期:2012-03-05 发布日期:2012-03-05
  • 作者简介:张树本(1986-),男,硕士研究生,主研方向:分布式数据库;徐陈锋,博士;奚宏生,教授、博士生导师
  • 基金资助:
    国家自然科学基金资助项目(61074033);博士点基金资助项目(20093402110019)

Load Balancing Algorithm for Middleware Database Cluster

ZHANG Shu-ben, XU Chen-feng, XI Hong-sheng   

  1. (Key Lab of Anhui Network Communication System and Control, Department of Automation, University of Science and Technology of China, Hefei 230027, China)
  • Received:2011-08-10 Online:2012-03-05 Published:2012-03-05

摘要: 为满足用户对数据库集群系统高输入高输出应用的需求,设计一种采用中间件技术的数据库集群系统,并针对该系统提出一种基于Markov模型的数据库集群负载均衡算法。该算法在执行节点负载信息采样周期内,利用Markov模型预测集群系统各执行节点的负载信息状态,根据预测的执行节点负载信息对集群系统进行负载均衡。实验结果表明,该算法能够有效提高数据库集群的性能。

关键词: 数据库集群, 负载预测, 负载均衡, Markov模型, 中间件, 高输入高输出

Abstract: This paper designs a database cluster architecture based on middleware technology to meet users’ high-input and high-output applications, and proposes a load balancing algorithm based on Markov model for the database cluster. The algorithm forecasts the load information of all execution nodes using Markov model within the period of sampling execution node load information, and balances the loads on all executor nodes using the above load prediction results. Experimental result shows that the proposed algorithm can improve the performance of database cluster effectively.

Key words: database cluster, load prediction, load balancing, Markov model, middleware, high-input and high-output

中图分类号: