基于Actor模型的高性能分布式XMPP服务器
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(61173005);国家科技支撑计划(2013BAH05F03)


High-performance Distributed XMPP Server Based on Actor Model
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    云计算和移动互联网的高速发展, 使得云端服务器需要同时和大规模客户端保持实时交互, XMPP消息通信技术使用基于TCP长连接的方式来实现这一功能. 然而, 现有的XMPP服务器系统大多基于传统的并发模型设计, 整体性能较差, 无法应对大规模并发的需求. 本文针对XMPP服务器的特点, 提出了一种基于Actor模型的XMPP服务器架构设计, 并给出了一种基于一致性哈希的分布式消息路由算法, 有效提升了系统的并发度、弹性扩展能力, 以及消息传递的效率. 实验表明基于本文方法实现的系统相比于现有其他系统, 性能有很大提升, 可以适应大规模并发的场景.

    Abstract:

    The cloud servers need to interact with a large number of clients simultaneously in real time in the cloud computing and the mobile internet environment. Real time communication between servers and clients is usually implemented with XMPP and TCP long connection. However, current XMPP servers, which are usually designed in the traditional concurrent model, can hardly deal with such large number of concurrent connections due to their limited performance. In this paper, we propose a new XMPP system design with the Actor model, and develop a decentralized message routing algorithm based on consistent hashing, to achieve better concurrency, scalability and efficiency. The experiment results show that our system overperforms a popular open source XMPP server in the scenarios of high concurrency.

    参考文献
    相似文献
    引证文献
引用本文

陈昊,高楚舒,魏峻,叶丹.基于Actor模型的高性能分布式XMPP服务器.计算机系统应用,2015,24(10):62-67

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2015-01-22
  • 最后修改日期:2015-03-09
  • 录用日期:
  • 在线发布日期: 2015-10-17
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号