Font Size: a A A

The Research On WEB Real-time Communication Technology Based On HTTP Long Connection

Posted on:2015-09-23Degree:MasterType:Thesis
Country:ChinaCandidate:Q ZhangFull Text:PDF
GTID:2308330473451861Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Now, the WEB application is becoming richer and richer and all kinds of application are appearing. Real-time WEB application such as real-time weather, stocks, real-time system monitoring also gradually becomes widespread. The population of the WEB real-time application contributes to the development of real-time communication technology. From the traditional way of polling to Flash XMLSocekt, then to long polling based on AJAX, each technology makes a breakthrough progress based on its former. But, all of them still have certain shortcomings more or less. At present, the latest WEB real-time communication technology is the WebSocket in HTML5 standard and it is still in the period of the draft, but most of the vendors have begun to support it in their respective products.But, the most of real-time communication solutions are simple use of the existing technology. It is difficult to fully solve the problems encountered in real-time communication in real environment. The purpose of this thesis is in allusion to the shortcomings of current WEB real-time application to raise a WEB real-time communication solution which is based on the latest WebSocket technology and the theory of some existing technology, aiming at solving problems such as low throughput, low resource utilization, high delay in real-time WEB communication. Also this thesis will make some optimization and improvement on the high concurrency real-time application caused by large-scale data in cloud computing environment. In the process of research, it gradually goes on through the combination of theory and practice.In this thesis, it firstly raises a WEB real-time communication model based on HTTP long connection in which we use WebSocket to implement long connection between a browser and a server. And we solve browsers’ compatibility problems through Comet. Secondly, it comes to design the client and the server partly, including the design of the WEB client browser support in real-time application, the design of connection management on servers, connection reuse, and the design of the link load balancing and so on. Thirdly, we carry on the preliminary design and implementation of the model by the integrated use of the existing theoretical foundation and technology. Then, we apply this model to implement a real-time WEB chat system which can support high concurrency, and realize the real-time communication function in monitoring system status on the cloud platform of WEB side. In the end, some theory test on the model and a corresponding test on the application system is been done to come to the conclusion by analyzing the result of the experiment.As a result, The WEB real-time communication model based on HTTP long connection, which can significantly improve the common problems in the real-time communication such as low network throughput, high delay. It especially proposes connection reuse and the processing of load balancing for large scale real-time communication, making it able to adapt to the requirement of large scale real-time communication system at present. Through the verification, the real-time communication technology solution can meet the needs of high concurrent communication under the cloud computing environment and effectively reduce the use of server resources, also improve the user’s experience.
Keywords/Search Tags:WEB real-time application, HTTP long connection, real-time communication technology, load balancing
PDF Full Text Request
Related items