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

基于Web應(yīng)用的動(dòng)態(tài)集群策略研究與設(shè)計(jì)

發(fā)布時(shí)間:2018-02-22 03:04

  本文關(guān)鍵詞: Web應(yīng)用 集群 分布式會(huì)話管理 Context監(jiān)測(cè) 調(diào)度策略 出處:《蘇州大學(xué)》2014年碩士論文 論文類型:學(xué)位論文


【摘要】:在互聯(lián)網(wǎng)高速發(fā)展的背景下,Web應(yīng)用集群越來越受到重視,而對(duì)于目前現(xiàn)有Web應(yīng)用集群解決方案來說,大多數(shù)利用中大型規(guī)模的商用Web集群產(chǎn)品來實(shí)施。實(shí)施此類解決方案,,一般需要較高的經(jīng)費(fèi)投入,而且后期需要專業(yè)人員來維護(hù),市場(chǎng)上缺少一個(gè)有針對(duì)性的、完整的、易于部署和維護(hù)的中小型規(guī)模Web應(yīng)用集群解決方案。本文通過總結(jié)現(xiàn)有的基于中小規(guī)模的Web應(yīng)用集群解決方案,以及測(cè)試相對(duì)應(yīng)的集群環(huán)境,提出了一種適用于中小規(guī)模企業(yè)的Web應(yīng)用動(dòng)態(tài)集群策略。本文通過分析和研究Tomcat服務(wù)器源代碼,深入理解Tomcat體系結(jié)構(gòu)以及各個(gè)組件之間的交互關(guān)系,提出了一種通過擴(kuò)展Tomcat組件的設(shè)計(jì)方案,在深入研究Tomcat會(huì)話(Session)的處理流程、調(diào)度請(qǐng)求流程以及底層通訊協(xié)議的基礎(chǔ)上,給出了相對(duì)完整的解決方案,概括如下: (1)提出了一種新的集群管理Session對(duì)象策略,設(shè)計(jì)引入了BackupClusterManager管理器和BackupClusterSession對(duì)象。詳細(xì)設(shè)計(jì)實(shí)現(xiàn)了各組件間的處理工作流程,包括Session對(duì)象創(chuàng)建、修改、更新最后訪問時(shí)間等生命周期操作,并給出了相應(yīng)Tomcat服務(wù)器源代碼級(jí)別上的實(shí)現(xiàn); (2)針對(duì)在Tomcat默認(rèn)的調(diào)度請(qǐng)求基礎(chǔ)上,提出了動(dòng)態(tài)調(diào)度請(qǐng)求策略,增加了動(dòng)態(tài)請(qǐng)求調(diào)度功能。設(shè)計(jì)了與之相對(duì)應(yīng)的請(qǐng)求調(diào)度方式,請(qǐng)求調(diào)度的處理以及相關(guān)Web應(yīng)用監(jiān)測(cè)處理策略,并給出了相應(yīng)Tomcat服務(wù)器源代碼級(jí)別上的實(shí)現(xiàn); (3)設(shè)計(jì)了一套基于TCP單播和UDP廣播協(xié)議的底層通信模塊,包含有接收模塊(Receiver)和發(fā)送模塊(Sender),用于集群之間Session會(huì)話的通信傳遞以及動(dòng)態(tài)調(diào)度信息之間的通信傳遞,并且給出Session會(huì)話信息與調(diào)度信息的封裝策略及實(shí)現(xiàn)。 本文提出的基于Tomcat服務(wù)器擴(kuò)展的設(shè)計(jì)和實(shí)現(xiàn)方案,基本解決了存在于中小型規(guī)模Web應(yīng)用集群的Session會(huì)話集群管理問題、Web應(yīng)用失效監(jiān)測(cè)與處理問題以及用戶請(qǐng)求動(dòng)態(tài)調(diào)度問題。
[Abstract]:Under the background of the rapid development of the Internet, more and more attention has been paid to the Web application cluster. However, for the existing Web application cluster solutions, most of them are implemented using commercial Web cluster products of medium and large scale. Generally, it requires a high level of funding, and professional personnel are needed to maintain it in the later period. There is a lack of a targeted and complete one in the market. Small and medium scale Web application cluster solution is easy to deploy and maintain. This paper summarizes the existing Web application cluster solution based on medium and small scale, and tests the corresponding cluster environment. This paper presents a dynamic cluster strategy of Web application for small and medium-sized enterprises. By analyzing and studying the source code of Tomcat server, this paper deeply understands the architecture of Tomcat and the interaction between each component. In this paper, a design scheme of extending Tomcat component is proposed. On the basis of deeply studying the processing flow of Tomcat session, scheduling request flow and underlying communication protocol, a relatively complete solution is given, which can be summarized as follows:. In this paper, a new strategy of cluster management Session object is proposed, and the BackupClusterManager manager and BackupClusterSession object are introduced into the design. The workflow among the components is designed and implemented in detail, including the creation and modification of Session object. Update the last access time and other life cycle operations, and give the corresponding Tomcat server source code level of the implementation; 2) based on the default scheduling request of Tomcat, a dynamic scheduling request policy is proposed, and the dynamic request scheduling function is added. The corresponding request scheduling mode, request scheduling processing and monitoring and processing strategy for related Web applications are designed. The implementation of the source code level of the corresponding Tomcat server is also given. A set of underlying communication modules based on TCP unicast and UDP broadcast protocol are designed, including receiving module (receiver) and sending module (TCP), which are used for communication transmission of Session session between clusters and communication between dynamic scheduling information. The encapsulation strategy and implementation of Session session information and scheduling information are also given. The design and implementation scheme based on Tomcat server extension in this paper basically solves the problem of Session session cluster management which exists in small and medium scale Web application cluster and the problem of failure monitoring and processing of web application as well as the dynamic scheduling problem of user request.
【學(xué)位授予單位】:蘇州大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.09

【參考文獻(xiàn)】

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

1 高昂;慕德俊;胡延蘇;;Web集群的區(qū)分服務(wù)與負(fù)載均衡策略研究[J];電子與信息學(xué)報(bào);2011年03期

2 劉安豐;陳志剛;閻朝坤;李登;;Web集群請(qǐng)求分配與選擇算法性能評(píng)價(jià)模型的研究[J];計(jì)算機(jī)科學(xué);2004年07期

3 王春娟;董麗麗;賈麗;;Web集群系統(tǒng)的負(fù)載均衡算法[J];計(jì)算機(jī)工程;2010年02期

4 申紅芳,羅四維,趙宏;集群計(jì)算系統(tǒng)的模型結(jié)構(gòu)[J];計(jì)算機(jī)應(yīng)用研究;2004年02期

5 Clemens Dietl;Uwe K. Rakowsky;;An Operating Strategy for High-availability Multi-station Transfer Lines[J];International Journal of Automation and Computing;2006年02期



本文編號(hào):1523489

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

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


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

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