Font Size: a A A

Design And Implementation Of Distributed Message Service Based On Redis

Posted on:2015-07-12Degree:MasterType:Thesis
Country:ChinaCandidate:Q Y ZengFull Text:PDF
GTID:2298330467463472Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
China Mobile OMP(Open Mobile-Internet Platform) open mobile network capabilities uniformly, including SMS(Short Messaging Service), MMS(Multimedia Messaging Service), GIS(Geographic Information System), and provide simple interfaces. When the terminal application and the server application call capabilities through open interfaces, OMP access sub-system needs to exchange data with the capability gateway to complete the call request. OMP access subsystem and the capability gateway form a relationship as the message producer and the message consumer, and can support huge traffic. There is a need to ensure the transmission of message to be efficient and reliable.To solve the problem of message transmission between OMP access subsystem and the capability gateway, this thesis researched and proposed a distributed message service system based on Redis. This thesis firstly analyzed the demand of message service system in detail and introduced the related key technologies. On the basis of the demand analysis, this thesis designed and implemented the message service system in detail. The message service system uses Redis as intermediate storage media of message, including three functional entities which are message producer, message consumer and Redis monitoring manager. The message producer sends messages to each Redis node uniformly; the message consumer receives messages from Redis nodes; the Redis monitoring manager monitors the health of Redis nodes. The message service system manages nodes by ZooKeeper. The message producer nodes, message consumer nodes and Redis nodes are all distributed. The system supports the dynamic expansion of Redis node and load balance of message consumers. In addition, this thesis also discussed high availability of the message services system, including the solution of the single-point problem and automatic standby switch of Redis node. Finally, the message of the service system was tested. The test results show that the system can run well, and meet the demand of high throughput and high availability.
Keywords/Search Tags:Redis, ZooKeeper, Distributed Message Service
PDF Full Text Request
Related items