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

當前位置:主頁 > 科技論文 > 搜索引擎論文 >

分布式系統(tǒng)測試關鍵技術研究

發(fā)布時間:2018-03-27 18:46

  本文選題:分布式系統(tǒng) 切入點:測試模型 出處:《西安電子科技大學》2013年碩士論文


【摘要】:近年來,隨著計算機以及網(wǎng)絡相關技術的飛速發(fā)展,其應用領域不斷擴大,業(yè)務邏輯越來越復雜,因此越來越多的網(wǎng)絡應用采用分布式系統(tǒng)的方式進行構建。鑒于分布式系統(tǒng)的并發(fā)性、缺乏全局時鐘和故障獨立性等特征,,很難將單模塊測試方法應用到基于分布式系統(tǒng)的模塊測試中。分布式系統(tǒng)測試過程中主要存在兩個問題:第一是難以保證分布式系統(tǒng)測試結果的可靠性;第二是在進行大規(guī)模分布式系統(tǒng)的性能測試及其它系統(tǒng)級驗證時,存在著搭建分布式系統(tǒng)困難、測試效率低等問題。 本文在對上述問題進行深入研究和探討的基礎上,分析了當前主流的測試模型,提出了一種改進的通用測試模型。此外,在該通用模型的基礎上,提出了一種新的集群可靠性測試模型和一種新的集群性能測試模型,并設計和開發(fā)了用于支持和實現(xiàn)上述模型的原型系統(tǒng)。為了支持該通用模型,本文在研究了網(wǎng)絡通信、Libevent、多線程以及異常注入等技術的基礎上,使用Libevent框架進行事件處理,并采用多線程技術,優(yōu)化了獲取大量真實數(shù)據(jù)源時的性能,提供了高性能服務;設計并實現(xiàn)了通信鏈路接管方案,通過注入通信異常的方式,模擬了鏈路中的異常情況,為分布式系統(tǒng)可靠性測試提供了解決方案;提出了通信鏈路數(shù)據(jù)錄制-回放方法,模擬了大規(guī)模的后端集群,解決了難以獲取大量真實數(shù)據(jù)源的問題,為分布式系統(tǒng)性能測試提供了解決方案。 實驗結果表明,原型系統(tǒng)在面向搜索引擎的分布式系統(tǒng)測試過程中,取得了很好的效果。通過使用該系統(tǒng)的錄制回放功能,達到了模擬集群的目的,使得測試過程中不再需要搭建集群環(huán)境,進而節(jié)省了大量的機器資源;通過使用該系統(tǒng)的鏈路模擬功能,成功模擬了模塊之間的連接、讀寫等通信異常,從而保證了集群容錯機制的健全性。 在后續(xù)的研究工作中,將進一步加深對分布式系統(tǒng)測試關鍵技術的研究,并在此基礎上,實現(xiàn)集群服務化和測試服務化。
[Abstract]:In recent years, with the rapid development of computer and network related technology, its application field is expanding, and business logic is becoming more and more complex. Therefore, more and more network applications are constructed by distributed systems. In view of the concurrency of distributed systems, the lack of global clock and fault independence, It is difficult to apply the single module test method to the module test based on distributed system. There are two main problems in the process of distributed system testing: first, it is difficult to ensure the reliability of distributed system test results; The second is the difficulty of building distributed system and the low efficiency of testing in the performance test and other system level verification of large-scale distributed system. On the basis of deep research and discussion of the above problems, this paper analyzes the current mainstream test model, and proposes an improved universal test model. In this paper, a new cluster reliability test model and a new cluster performance test model are proposed, and a prototype system for supporting and implementing the above model is designed and developed. Based on the research of network communication technology such as Libevent, multithreading and exception injection, this paper uses Libevent framework to deal with events, and optimizes the performance of obtaining a large number of real data sources by using multithreading technology, which provides high performance service. This paper designs and implements the communication link takeover scheme, simulates the abnormal situation in the link by injecting the communication anomaly, and provides a solution for the reliability test of the distributed system, and puts forward the method of recording and replaying the communication link data. A large scale back-end cluster is simulated, which solves the problem that it is difficult to obtain a large number of real data sources, and provides a solution for the performance testing of distributed systems. The experimental results show that the prototype system has achieved good results in the process of testing the distributed system oriented to search engine. By using the recording and playback function of the system, the purpose of simulating the cluster is achieved. In the process of testing, it is no longer necessary to build a cluster environment, which saves a lot of machine resources. By using the link simulation function of the system, it successfully simulates the communication anomalies such as the connection between modules, reading and writing, etc. Thus, the fault-tolerant mechanism of cluster is guaranteed to be sound. In the following research work, we will further deepen the research on the key technologies of distributed system testing, and on this basis, we will realize cluster service and test service.
【學位授予單位】:西安電子科技大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP316.4;TP311.53

【參考文獻】

相關期刊論文 前10條

1 李秋英,劉斌,阮鐮;灰盒測試方法在軟件可靠性測試中的應用[J];航空學報;2002年05期

2 周傲英;周敏奇;錢衛(wèi)寧;張蓉;;大規(guī)模分布式系統(tǒng)中的多屬性查詢處理[J];計算機學報;2008年09期

3 張震,吳永明;分布式對象模型和SOAP[J];計算機應用與軟件;2003年01期

4 謝偉;馮杰;;淺談多層分布式應用體系結構[J];科技信息(科學教研);2008年14期

5 顧慶,陳道蓄,于勐,謝立,孫鐘秀;基于事件約束的分布式程序正確性測試[J];軟件學報;2000年08期

6 顧慶,陳道蓄,韓杰,謝立,孫鐘秀;一個面向分布式程序的測試系統(tǒng)框架[J];軟件學報;2000年08期

7 劉爽;史國友;張遠強;;基于TCP/IP協(xié)議和多線程的通信軟件的設計與實現(xiàn)[J];計算機工程與設計;2010年07期

8 郭銀章,徐玉斌,曾建潮;分布異構網(wǎng)絡環(huán)境下數(shù)據(jù)訪問設計[J];太原重型機械學院學報;2003年01期

9 束長寶;于照;張繼勇;;基于TCP/IP的網(wǎng)絡通信及其應用[J];微計算機信息;2006年36期

10 李國徽,王洪亞;分布式實時數(shù)據(jù)庫并發(fā)控制[J];小型微型計算機系統(tǒng);2003年06期

相關碩士學位論文 前6條

1 戴希里;軟件測試過程改進方法的研究[D];華中師范大學;2006年

2 楊杰榮;軟件測試過程的研究與應用[D];西北工業(yè)大學;2007年

3 楊利;分布式系統(tǒng)測試技術研究及其應用[D];河北工業(yè)大學;2007年

4 劉冬;基于LSGA的最小測試用例集自動生成[D];華中科技大學;2008年

5 何騰蛟;分布式系統(tǒng)測試模型與框架的研究與應用[D];電子科技大學;2009年

6 徐淑煥;存儲集群平臺軟件敏捷迭代測試的研究與應用[D];重慶大學;2009年



本文編號:1672773

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

本文鏈接:http://sikaile.net/kejilunwen/sousuoyinqinglunwen/1672773.html


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

版權申明:資料由用戶97b78***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com