北京邮电大学学报

  • EI核心期刊

北京邮电大学学报 ›› 2016, Vol. 39 ›› Issue (s1): 27-31.doi: 10.13190/j.jbupt.2016.s.007

• 论文 • 上一篇    下一篇

XMPP协议的数据分发网络的负载均衡算法

张哲宇1, 周润林2, 孙斌1, 胡燕3   

  1. 1. 北京邮电大学 信息安全中心, 北京 100876;
    2. 国家计算机网络应急技术处理协调中心, 北京 100029;
    3. 北京邮电大学 信息网络中心, 北京 100876
  • 收稿日期:2015-10-17 出版日期:2016-06-28 发布日期:2016-06-28
  • 作者简介:张哲宇(1989-),女,硕士生;孙斌(1967-),女,副教授,硕士生导师,E-mail:sunbin@bupt.edu.cn.
  • 基金资助:

    国家自然科学基金项目(61502048);国家242信息安全计划项目(2015A136)

Load Balancing Algorithm for Data Distribution Network Based on XMPP Protocol

ZHANG Zhe-yu1, ZHOU Run-lin2, SUN Bin1, HU Yan3   

  1. 1. Information Security Center, Beijing University of Posts and Telecommunications, Beijing 100876, China;
    2. National Computer Network Emergency Response Technical Team/Coordination Center, Beijing 100029, China;
    3. Information Network Center, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2015-10-17 Online:2016-06-28 Published:2016-06-28

摘要:

通过对负载均衡算法的研究,改进了加权最小连接数算法,使其适用于并发流量较小但会话连接数量较大的可扩展通讯和表示协议服务器集群系统的数据分发网络.可动态地获取服务器的占用资源,实时计算当前负载能力及负载比率,并通过限定阈值将服务器负载状况分为3个阶段,通过两种不同算法相结合来调度服务器,并且能在服务器空闲或超载时,适时关闭服务器或调度新的服务器,提高服务器集群的负载性能.

关键词: 可扩展通讯和表示协议服务器, 负载集群, 最小连接数算法

Abstract:

In order to set up an algorithm suitable for data distribution network of extensible messaging and presence protocol (XMPP) server cluster system with a relatively large number of sessions and the number of sessions, the weighted least connections algorithm was improved. This algorithm dynamically acquires the server's occupancy resources, and calculates the current load capacity and load level in real time. The servers' loading status is divided into three stages by the threshold values, and the servers are scheduled with two different algorithms. The algorithm can effectively improve the load performance of the server cluster.

Key words: extensible messaging and presence protocol (XMPP) server, load cluster, least-connections algorithm

中图分类号: