Maintaining strong cache consistency in the World Wide Web

被引:83
作者
Cao, P [1 ]
Liu, CJ [1 ]
机构
[1] Univ Wisconsin, Dept Comp Sci, Madison, WI 53706 USA
关键词
World Wide Web; cache consistency; invalidation protocols; distributed systems; performance analysis and measurements;
D O I
10.1109/12.675713
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
As the Web continues to explode in size, caching becomes increasingly important. With caching comes the problem of cache consistency. Conventional wisdom holds that strong cache consistency is too expensive for the Web, and weak consistency methods, such as Time-To-Live (TTL), are most appropriate. This study compares three consistency approaches: adaptive TTL, polling-every-time and invalidation, through analysis, implementation, and trace replay in a simulated environment. Our analysis shows that weak consistency methods save network bandwidth mostly at the expense of returning stale documents to users. Our experiments show that invalidation generates a comparable amount of network traffic and server workload to adaptive TTL and has similar average client response times, while polling-every-time results in more control messages, higher server workload, and longer client response times. We show that, contrary to popular belief, strong cache consistency can be maintained for the Web with little or no extra cost than the current weak consistency approaches, and it should be maintained using an invalidation-based protocol.
引用
收藏
页码:445 / 457
页数:13
相关论文
共 21 条
[1]  
ANDERSON TE, 1995, P 15 ACM S OP SYST P
[2]  
BAKER MG, 1991, P 13 ACM S OP SYST P, P198
[3]  
BESTAVROS A, 1995, P 1995 IEEE S PAR DI
[4]  
BLAZE MA, 1993, THESIS PRINCETON U
[5]  
CATE V, 1992, PROCEEDINGS OF THE USENIX FILE SYSTEMS WORKSHOP, P1
[6]  
CHANKHUNTHOD A, 1996, P 1996 USENIX TECHN
[7]  
DANZIG P, 1993, P ACM SIGCOMM C SIGC, P239
[8]  
FRANKLIN M, 1996, CLIENT DATA CATCHING
[9]  
FRANKLIN MJ, 1997, ACM T DATABASE SYSTE
[10]  
GWERTZMAN J, 1996, P 1996 USENIX TECHN