摘要
介绍了一个基于混合式P2P模型的消息中间件的设计与实现过程。设计的消息中间件分为两部分:节点端消息中间件和服务器端消息中间件。节点端消息中间件分三层:消息管理层、消息处理层、消息收发层。消息管理层是整个消息中间件的核心,主要负责消息队列管理、消息订阅管理、系统管理和消息处理,采用基于混合式P2P模型的发布/订阅系统,使用动态线程池技术实现消息并发处理功能;消息处理层负责消息加密/解密、消息格式转换和消息封装/提取等处理过程;消息收发层负责建立连接、网络管理、消息接收/发送等功能。服务器端消息中间件主要提供名字服务和消息广播服务。同时论述了消息中间件的服务质量(QoS)特性及各种QoS特性的控制。
This paper introduces the design and implementation of a MOM, which is based on composite P2P model. The MOM is divided into two parts : the node-side MOM and the server-side MOM. The node-side MOM is divided into three layers, which is including the message management layer, the message processing layer and the message sending/receiving layer. The message management layer is the core of MOM, which is mainly responsible for message queue management, message subscription management, system management and message processing. The publish/subscribe system is adopted based on composite P2P model, and the dynamic thread pool technology is used to realize concurrent message processing;the message processing layer is responsible for dealing with message encryption/decryption, message format conversion and message packet/extraction;the message sending/receiving layer is responsible for establishing network connection, network management, message receiving and sending. The server-side MOM is mainly used to provide the name services and message broadcasting services. Simutaneously,the quality of service(QoS) characteristics for the MOM and the control of various QoS characteristics are discussed.
出处
《辽宁科技大学学报》
CAS
2010年第1期40-44,共5页
Journal of University of Science and Technology Liaoning
关键词
消息中间件
混合式P2P
线程池
连接池
发布/订阅
message-oriented middleware (MOM)
composite P2P
thread pool
link pool
publish/subscribe