Font Size: a A A

Design And Implementation Of The Server Push System In Unified Supporting Platform

Posted on:2015-09-24Degree:MasterType:Thesis
Country:ChinaCandidate:Y C YeFull Text:PDF
GTID:2298330467962021Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the popularity of Internet and the explosive growth of information, applications using server push technology, such as Sina Weibo, the stock price monitoring applications, web-based IM (Instant Messaging) applications, have gained a large number of users for their interactive, real-time technical superiority. Along with the rapid growth of smartphone users and the mobile browser being mature, server push technology has got a lot of potential in mobile internet. Meanwhile, the complex network applications need more and more self-contained units of functionalities to work together to provide service for the users. These functionalities include searching engine, content management system and massage pushing module. The unified supporting platform is designed to help increase application’s scalability via the decomposition of service logic and fundamental services. The SPS (Server Push System), which can provide message pushing capability to other services, is one of these most fundamental services.In this thesis, firstly, a comparative analysis of the current implementations of server push technology is conducted, based on which, the comet technology is selected as SPS’model, the Ajax long polling and streaming technology are selected according to their great compatibility in PC (Personal Computer) and mobile browsers. Then, the Nginx is selected as the web container according to its high performance in handling HTTP persistent connection. The message pushing module is implemented as a third party module of Nginx. Then, the demand of SPS is analyzed and the SPS’s overall architecture is designed. The SPS is composed of access management module, message pushing module and persistent connection module. The thesis describes the key objects’ lifecycle process and then gives the detailed design and implementation of the key modules of SPS.At last, this thesis tests SPS’functionality and performance, summarizes the work and gives the outlook of SPS. The current SPS could be improved from following aspects:support the priority message, combine the multiple connections from the browser and try to auto-change pushing mode according to the message publishing frequency. This thesis also points out that WebSocket technology will be the key technology of the future’s SPS.
Keywords/Search Tags:Comet, Nginx, HTTP Persistent Connection, Server Push, Long Polling, Streaming
PDF Full Text Request
Related items