Font Size: a A A

Design And Implementation Of Delay Queue System Based On Tair And Redis

Posted on:2018-05-31Degree:MasterType:Thesis
Country:ChinaCandidate:Z C LiuFull Text:PDF
GTID:2348330536460843Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile Internet and the improvement of people's pursuit of fast and convenient way of life,order take-out food has become a very important part of the new lifestyle.According to statistics,there are thousands of takeout orders every day.As a result,the functional and performance requirements are increasing.As a necessary part of the order payment,distribution and so on,the delay message plays an important role in dealing with all kinds of abnormal events.Therefore,it is necessary to develop a reliable and efficient message middleware system for storing and sending delay messages in the takeaway system.The delay queue system is mainly used in the delivery system when the business accept orders overtime,the users pay the order timeout and riders send the order timeout.It is a message oriented middleware for storing and forwarding delay messages in takeaway system.In this system,the message queue RabbitMq is encapsulated and solves the problem that the current message middleware logic does not match with the takeaway system.It can meet the demand of the related requirements and provide efficient and stable service in the takeaway system.In this paper,we analise function of the system firstly,then introduce the design of the system function.At last,the realization and test of the system are described.The system mainly uses the Java language to develope,and use Tair and Redis as the storage engine based on Key/Value is used to store the message delay.We also use the Spring,MyBatis,ZooKeeper and RabbitMq and other related technologies.It can satisfy the requirement of high efficiency,stability,easy access and easy to expand.The delay queue system is mainly related to the business side.The main features include the sending,storage and forwarding of delay messages.Besides,there are some other functions like involves cluster management,load balancing,queue loading,message trigger point records and some other functions.The delay queue system provides a unified access interface for the service side.In order to facilitate the management and maintenance of the system,it also provides a wealth of monitoring and alarm functions,providing a strong guarantee for the maintenance of the system.
Keywords/Search Tags:Message oriented middleware, Delay queue, Cluster, Distributed system
PDF Full Text Request
Related items