Font Size: a A A

Research And Implement Of HTTP Persistent Connection Based Message Push Platform

Posted on:2013-11-24Degree:MasterType:Thesis
Country:ChinaCandidate:W T YangFull Text:PDF
GTID:2248330392457683Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Along with a wide range of Internet applications development, network applicationtechnology also moves forward. In recent years, server push technology was developed inmany web applications such as Instant Messaging and real-time stock price system. Itbecame one of the essential technologies in major websites. At present, in order toimprove the user experience, the large shopping websites need to send trading informationand real-time auctions price to users immediately. The message push platformimplemented and introduced in this thesis is a website solution for that needs.Firstly, this study determined to use Comet technology which is based on HTTPpersistent connection without plug-in by comparing several server-push technologyimplementations. Then, this study chose AJAX long pulling to implement Comettechnology according to its good browser supporting. Secondly, according to themessage-pushing demand of the shopping website, this system was divided into threemodules, including access module, message-pushing module and long connection module.Both the system performance and efficiency have been considered in this thesis. Thetime-wheel algorithm is used to improve efficiency of overtime checking. TheContinuation method is used to process asynchronous request, so that large number ofconcurrent connection are maintained by few thread. Therefore the system performance isgreatly improved while lowering the cost. Finally, this study tests and analyzes the systemperformance parameters, including the number of concurrent persistent connection, CPUutilization and memory footprint size.In this thesis, the message push platform can push latest action price to all users whofocus on the web page, can push transaction messages and notifications to users logged on.The platform also can push a variety of message types, support multiple delivery methods(including one-to-one and one-to-many). It also has advantages such as large number ofconcurrent connections and small system resource occupation rate.
Keywords/Search Tags:Message Push Platform, Server Push, Comet, HTTP persistent connection, AJAX long polling
PDF Full Text Request
Related items