###
DOI:
计算机系统应用英文版:2015,24(10):62-67
←前一篇   |   后一篇→
本文二维码信息
码上扫一扫!
基于Actor模型的高性能分布式XMPP服务器
(1.中国科学院软件研究所软件工程技术研究开发中心, 北京 100190;2.中国科学院大学, 北京 100190)
High-performance Distributed XMPP Server Based on Actor Model
(1.Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;2.University of Chinese Academy of Sciences, Beijing 100190, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 2016次   下载 3826
Received:January 22, 2015    Revised:March 09, 2015
中文摘要: 云计算和移动互联网的高速发展, 使得云端服务器需要同时和大规模客户端保持实时交互, XMPP消息通信技术使用基于TCP长连接的方式来实现这一功能. 然而, 现有的XMPP服务器系统大多基于传统的并发模型设计, 整体性能较差, 无法应对大规模并发的需求. 本文针对XMPP服务器的特点, 提出了一种基于Actor模型的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.
文章编号:     中图分类号:    文献标志码:
基金项目:国家自然科学基金(61173005);国家科技支撑计划(2013BAH05F03)
引用文本:
陈昊,高楚舒,魏峻,叶丹.基于Actor模型的高性能分布式XMPP服务器.计算机系统应用,2015,24(10):62-67
CHEN Hao,GAO Chu-Shu,WEI Jun,YE Dan.High-performance Distributed XMPP Server Based on Actor Model.COMPUTER SYSTEMS APPLICATIONS,2015,24(10):62-67