标题: WWW代理伺服器上快取同步机制之分析与设计
Design and Analysis of Cache Consistency Policies for WWW Proxy
作者: 许闵雄
Min-Hsiung Hsu
简荣宏
Rong-Hong Jan
资讯科学与工程研究所
关键字: 快取同步;代理伺服器;cache consistency;proxy;Callback;TTL
公开日期: 2000
摘要: WWW的兴起为网路流量带来惊人的成长,造成网路的壅塞与存取延迟的增加。快取(cache)技术可以减低网路流量,减少存取延迟与减轻伺服器的负荷,在网际网路上被广为使用,然而要保证快取内的资料正确性,快取同步技术随之兴起。目前常见的技术有:TTL、Adaptive TTL、Poll、Poll-Each-Read、Callback与Lease六种,快取同步技术中的快取存活时间是一项很重要的参数,然而如何决定快取存活时间是一种问题。在本篇论文,我们用数学分析快取存活时间与快取错误率、快取空间与频宽的使用的关系,藉由分析出来的式子来帮助我们决定快取的存活时间。此外,我们也提出了一个快取同步的机制:Selective Callback,在此机制中,我们仅对最受欢迎的文件做无效通知的动作,以减少Callback演算法中无效通知讯息的数量。Selective Callback可以设定成非强一致性同步机制,同时也可以成为强一致性同步机制。在变动快速的环境下,Selective Callback可以更有效的节省频宽的使用。
Caching documents can reduce both network traffic and document access latency. However, to make sure cached copy to be useful, cache consistency must be maintained. There are two types of cache consistency mechanism: weak cache consistency and strong cache consistency mechanism. Weak cache consistency mechanism includes TTL (Time-To-Live), Adaptive TTL, and Poll and strong cache consistency mechanism includes Poll-Each-Read, Callback and Lease. How to determine the cache lifetime in TTL approach is a trade-off problem. We analyze the stale probability, state space and bandwidth usage under client-proxy-server caching structure and derive three formulations to help us to determine a suitable cache lifetime. We also propose a new cache consistency approach, called as Selective Callback. This approach can reduce the bandwidth usage when the update frequency is large enough. The simulation is given to show the effectiveness of Selective Callback approach.
URI: http://140.113.39.130/cdrfb3/record/nctu/#NT890394050
http://hdl.handle.net/11536/66953
显示于类别:Thesis