Font Size: a A A

Research And Implementation Of Distributed Cloud Push Platform Based On Web Socket Protocol

Posted on:2020-04-21Degree:MasterType:Thesis
Country:ChinaCandidate:Z LuFull Text:PDF
GTID:2428330596482429Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Nowadays,with the rapid development of mobile internet,a large number of PC and mobile devices simultaneously request data from application servers.However,the processing capacity of servers is limited and they are facing tremendous pressure of data requests.Traditional server push technology is based on HTTP protocol of request-response mode.Real-time data can only be obtained by client requesting back-end server continuously,which undoubtedly increases the pressure of server concurrent processing and results in waste of server resources.Because of the drawbacks of server push technology based on HTTP protocol,this paper proposes a Web Socket protocol based on HTML5 specification to implement server push technology in real sense.Because WebSocket protocol has the advantages of persistent connection and full-duplex connection,the server can actively push data to the client after updating data,which not only reduces the waste of server resources,but also makes real-time message changes more timely sent to the client to enhance user experience.Firstly,the WebSocket protocol is studied in depth,and its connection principle and data transmission principle are discussed in depth.The goal of this paper is to build a high-performance and distributed universal cloud push platform,so the distributed theory is also studied and practiced.Next,this paper designs and chooses the technology architecture of distributed cloud push platform.Push back-end services are built by Spring Cloud technology.WebSocket connection and message processing are built by Netty,an event-driven asynchronous IO framework with high performance.This paper also develops an automated access platform for service side and a data visualization platform for various indicators related to push message.Each subsystem communicates asynchronously and cooperates with each other to provide push service.This paper investigates and implements the distributed cloud push system based on WebSocket protocol.Through the stress test of the system,it shows that the implementation scheme can effectively solve the problem of waste of resources at the server side in the push service,and greatly improve the real-time and arrival rate of the push message.
Keywords/Search Tags:Internet, Protocol, HTTP, WebSocket, Message push, Distributed Architecture
PDF Full Text Request
Related items