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

當前位置:主頁 > 科技論文 > 計算機論文 >

發(fā)布訂閱網絡中的緩存算法研究

發(fā)布時間:2018-06-21 11:36

  本文選題:發(fā)布/訂閱 + 分布式緩存 ; 參考:《上海交通大學》2013年碩士論文


【摘要】:發(fā)布訂閱網絡是一種靈活的通信模型,它能根據消息的內容而非通信雙方的地址信息來進行消息傳輸,因而能很好地滿足大規(guī)模網絡的數據通信需求。在傳統的發(fā)布訂閱網絡中,消息不會存儲在網絡,,訂閱用戶只能收到其在線時系統發(fā)布的消息。然而,在一些動態(tài)的場景中,用戶動態(tài)地加入退出系統,新加入的用戶可能會對系統過去產生的消息感興趣。 本論文在保持發(fā)布訂閱網絡原有的松耦合、異步通信特性的基礎之上,提出了一種在發(fā)布訂閱網絡中的消息持久化算法,使得發(fā)布的消息能在發(fā)布訂閱網絡中存儲,并支持用戶對歷史消息的訂閱獲取。通過與另外兩種消息持久化算法進行對比實驗,本文的消息持久化算法顯示出其在消息持久化能力、歷史消息查找開銷和系統擴展性上都具有良好的性能。 同時,本文提出了在發(fā)布訂閱網絡中的消息部署算法,利用關于用戶的先驗知識對消息進行預轉移存儲,使消息部署在離可能用戶最近的位置,以使用戶能更快地獲取歷史消息。同樣,通過與另外二種消息部署算法進行對比實驗,本文的消息部署算法顯示出其在響應用戶請求上具有良好的性能。 最后,本文利用所提出的消息緩存算法擴展了傳統的發(fā)布訂閱系統,實現了一種支持歷史消息的發(fā)布訂閱系統,支持消息在網絡中持久化,并提供了用戶訂閱歷史消息的功能。
[Abstract]:Publish / subscribe network is a flexible communication model, which can transmit messages according to the content of messages rather than the address information of both parties, so it can meet the data communication needs of large scale networks. In a traditional publish / subscribe network, messages are not stored on the network, and subscribers can only receive messages published by the system when they are online. However, in some dynamic scenarios where the user dynamically joins the exit system, the new user may be interested in the messages generated by the system in the past. Based on the loose coupling and asynchronous communication characteristics of publish / subscribe network, this paper proposes a message persistence algorithm in publish / subscribe network, which can store the published message in the publish / subscribe network. It also supports the user's subscription to the history message. By comparing with the other two message persistence algorithms, this paper shows that the message persistence algorithm has good performance in message persistence, historical message lookup overhead and system expansibility. At the same time, this paper proposes a message deployment algorithm in publish / subscribe network, which makes use of the prior knowledge of users to pre-transfer the messages, so that the messages are deployed in the nearest location to the possible users. To enable users to access historical messages faster. In the same way, by comparing with the other two message deployment algorithms, the message deployment algorithm in this paper shows that it has good performance in responding to user requests. Finally, this paper extends the traditional publish / subscribe system by using the proposed message caching algorithm, implements a publish / subscribe system that supports historical messages, supports the persistence of messages in the network, and provides the function of users subscribing to historical messages.
【學位授予單位】:上海交通大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP333

【參考文獻】

中國期刊全文數據庫 前1條

1 馬建剛;黃濤;汪錦嶺;徐罡;葉丹;;面向大規(guī)模分布式計算發(fā)布訂閱系統核心技術[J];軟件學報;2006年01期



本文編號:2048478

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

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2048478.html


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

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