Font Size: a A A

Reconsitution And Implemention For Message Pushing Module Of RSA System

Posted on:2019-10-25Degree:MasterType:Thesis
Country:ChinaCandidate:H C PanFull Text:PDF
GTID:2392330623463613Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The road rescue system(CTO)used by the enterprise is long and backward in technology,not only does not provide the external interface,but the system is deployed in France,the response speed is slow,the function and use experience can not keep up with the increasing business needs of China,the French development team has no longer updated the system.At present,the business in the Chinese area is made up of another middleware based system and the customer system to make the automatic push and state synchronization of road rescue cases,to make up and assist the old system(CTO),but the problem is that the operation Department’s customer service has to use two sets of systems to bring to the operation team.A lot of extra workload makes the whole operation team inefficient.In order to solve this problem,the India team developed a new road rescue system,"Drive-Easy",specially provided for use in China,but it was found that the response of the system was very slow.In this thesis,the problem of the slow response of the new system is tested and checked,the cause reconfiguration is located,and a message push module based on WebSocket protocol and Redis caching technology is implemented.This scheme aims at providing a complete and efficient message push module based on the B/S architecture system,and takes up very little service.The device resources can be realized.The contents and work of this thesis are as follows:(1)In order to locate and prove the cause of the slow system is the client polling request,the CPU,the network bandwidth usage and the database(RDS)load of the server are collected and compared respectively in the two cases of polling and no polling.(2)According to the analysis and comparison of the popular message push technology and framework in the market,the Signalr framework of Microsoft is selected as the server of the reconstructed message push module.(3)Combining the Redis cache technology and the heartbeat function based on WebSocket to make up for the defects of the Signalr framework: unable to capture all the event messages disconnected by the client.Using Redis to manage the WebSocket client’s session state(session),which is not mentioned or weak in many mainstream message push schemes.By using Redis keyword expiration function and event trigger mechanism,a message receiver is developed,and the timing message is sent.(4)In order to provide the expression of message content in Redis,convenient for reading and understanding,this thesis uses a concise JSON language as the storage format of all message content and proposes a novel storage model for the extraction and sending of convenient messages.(5)The most critical message sending function in the module is tested,and the test report is analyzed.After the new message module is on-line,the index of the server and the original index are compared.(6)Based on the above research,a lightweight,high-performance,cross platform message push module is reconstructed and implemented.This thesis proposes and implements a new and complete message push scheme available for the B/S architecture.It reconstructs and optimizes the existing message modules to make up for the blind point of the mainstream framework and scheme,and the architecture is simple and the function is flexible.Up to now,the reconfigured message push module has been running for a month,and the number of online people has exceeded 10 thousand people.The system can run normally,less than 80% of the server resource consumption,less pressure on the message server than the original polling,and the page can respond quickly.The whole system reduces the operation cost of the company and improves the efficiency of the whole rescue work.
Keywords/Search Tags:Polling, WebSocket, Server Push, Redis, Signalr
PDF Full Text Request
Related items