天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于服務(wù)器集群的推送技術(shù)的研究與應(yīng)用

發(fā)布時(shí)間:2018-11-07 19:52
【摘要】:隨著互聯(lián)網(wǎng)技術(shù)的不斷發(fā)展,WEB應(yīng)用應(yīng)運(yùn)而生。Web應(yīng)用中一個(gè)重要的研究方面就是如何使用服務(wù)器的主動(dòng)推送來(lái)完成客戶端和服務(wù)器之間信息的交互,服務(wù)器推送技術(shù)(Comet)也就隨之被提出。服務(wù)器推送技術(shù)有很多的種類,DWR(Direct Web Remoting,遠(yuǎn)程web命令)是其中較為成熟和適用范圍比較廣的技術(shù)。DWR是基于連接的,即服務(wù)器端和瀏覽器之間需要保持一個(gè)連接,進(jìn)而進(jìn)行通信。隨著網(wǎng)絡(luò)用戶量的不斷增多,服務(wù)器需要維護(hù)的連接數(shù)也隨之增多,但是每臺(tái)服務(wù)器只能維護(hù)一定數(shù)量的連接,因此在具體應(yīng)用的時(shí)候我們還要考慮到利用集群技術(shù)來(lái)完成大量用戶的連接的維護(hù),進(jìn)而完成服務(wù)器的推送。 本文中介紹了服務(wù)器的推送原理及相關(guān)技術(shù),并且選擇DWR作為本文的推送技術(shù)的主要研究對(duì)象。描述了DWR這種框架的具體操作原理,類庫(kù)等,并且將DWR與時(shí)下最為流行的MVC(Model-View-Controller)框架進(jìn)行融合配置,提供一個(gè)高可用性的WEB編程框架。除此之外,還研究了服務(wù)器集群的相關(guān)知識(shí),在此基礎(chǔ)上設(shè)計(jì)了一種動(dòng)態(tài)的負(fù)載均衡算法,該算法可以根據(jù)集群的實(shí)時(shí)負(fù)載信息動(dòng)態(tài)的處理請(qǐng)求,使得集群能夠長(zhǎng)時(shí)間的在一個(gè)負(fù)載均衡的情況下工作并且保持其高效性。本文將DWR的推送應(yīng)用于該負(fù)載均衡的服務(wù)器集群上,以實(shí)現(xiàn)基于該集群的服務(wù)器推送技術(shù)。主要技術(shù)包括DWR如何推送信息和消息如何在集群的服務(wù)器之間進(jìn)行同步。最后,將該技術(shù)應(yīng)用于一個(gè)實(shí)際的WEB應(yīng)用開發(fā)——企業(yè)微博中,討論了DWR推送和集群及其負(fù)載均衡技術(shù)在這個(gè)系統(tǒng)中的應(yīng)用,進(jìn)一步驗(yàn)證這種基于集群的DWR推送技術(shù)的可用性。
[Abstract]:With the continuous development of Internet technology, WEB applications emerge as the times require. One of the important research aspects of Web applications is how to use the active push of the server to complete the information exchange between the client and the server. Server push technology (Comet) is also proposed. Server push technology there are many kinds of, DWR (Direct Web Remoting, remote web commands) is one of the more mature and widely used technology. DWR is connection-based, that is, the server and browser need to maintain a connection, Then the communication is carried out. With the increasing number of network users, the number of connections the server needs to maintain also increases, but each server can only maintain a certain number of connections. Therefore, in the specific application, we should consider the use of cluster technology to complete the maintenance of a large number of user connections, and then complete the push of the server. This paper introduces the push principle and related technology of server, and chooses DWR as the main research object of push technology in this paper. This paper describes the operation principle and class library of DWR framework, and combines DWR with the most popular MVC (Model-View-Controller) framework to provide a high availability WEB programming framework. In addition, the related knowledge of server cluster is studied, and a dynamic load balancing algorithm is designed, which can deal with the request dynamically according to the real-time load information of the cluster. Enables the cluster to work for a long time in a load-balanced environment and to maintain its efficiency. In this paper, the push of DWR is applied to the load balanced server cluster to realize the server push technology based on the cluster. The main technologies include how DWR pushes information and how messages synchronize between clustered servers. Finally, this technology is applied to an actual WEB application development enterprise Weibo. The application of DWR push, cluster and its load balancing technology in this system is discussed, and the usability of this cluster-based DWR push technology is further verified.
【學(xué)位授予單位】:南京理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.05

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 費(fèi)日東;李定主;;服務(wù)器推送技術(shù)研究[J];電腦知識(shí)與技術(shù);2012年07期

2 張前進(jìn);齊美彬;李莉;;基于應(yīng)用層負(fù)載均衡策略的分析與研究[J];計(jì)算機(jī)工程與應(yīng)用;2007年32期

3 郭成城,晏蒲柳;一種異構(gòu)Web服務(wù)器集群動(dòng)態(tài)負(fù)載均衡算法[J];計(jì)算機(jī)學(xué)報(bào);2005年02期

4 丁振國(guó);朱建新;;基于服務(wù)類型的動(dòng)態(tài)反饋負(fù)載均衡算法[J];計(jì)算機(jī)應(yīng)用研究;2009年05期

5 封志明;馬楚又;;基于XML的CAPP系統(tǒng)設(shè)計(jì)模式研究[J];機(jī)械設(shè)計(jì)與制造;2011年09期

6 田秀彥;李忠;羅士美;鄧力強(qiáng);;基于Struts+Hibernate+Spring的整合架構(gòu)及其在Web開發(fā)中的應(yīng)用[J];計(jì)算機(jī)與現(xiàn)代化;2008年11期

7 李坤;王百杰;;服務(wù)器集群負(fù)載均衡技術(shù)研究及算法比較[J];計(jì)算機(jī)與現(xiàn)代化;2009年08期

8 羅擁軍;李曉樂(lè);孫如祥;;負(fù)載均衡算法綜述[J];科技情報(bào)開發(fā)與經(jīng)濟(jì);2008年23期

9 李譜華;;淺析MVC設(shè)計(jì)模式及其應(yīng)用[J];科技信息;2010年16期

10 陳遙;李珊;趙英男;;基于SSH+DWR的Web開發(fā)框架研究與應(yīng)用[J];南京信息工程大學(xué)學(xué)報(bào)(自然科學(xué)版);2010年05期

,

本文編號(hào):2317401

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2317401.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶25d28***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com