Maintaining Mutual Consistency for Cached Web Objects
نویسندگان
چکیده
Existing web proxy caches employ cache consistency mechanisms to ensure that locally cached data is consistent with that at the server. In this paper, we argue that techniques for maintaining consistency of individual objects are not sufficient—a proxy should employ additional mechanisms to ensure that related web objects are mutually consistent with one another. We formally define the notion of mutual consistency and the semantics provided by a mutual consistency mechanism to end-users. We then present techniques for maintaining mutual consistency in the temporal and value domains. Our techniques provide several tunable parameters that allow a tradeoff between network overhead and the fidelity of consistency guarantees. A novel aspect of our techniques is that they can adapt to the variations in the rate of change of the source data, resulting in judicious use of proxy and network resources. We evaluate our approaches using real-world web traces and our results show that (i) careful tuning can result in substantial savings in the number of polls incurred without any substantial loss in fidelity of the consistency guarantees, and (ii) the incremental cost of providing mutual consistency guarantees over mechanisms to provide individual consistency guarantees is small.
منابع مشابه
Lifetime Based Consistency Protocols for Distributed Objects
Techniques such as replication and caching of objects that implement distributed services lead to consistency problems that must be addressed. We explore new consistency protocols based on the notion of object value lifetimes. By keeping track of the lifetimes of the values stored in shared objects (i.e., the time interval that goes from the writing of a value until the latest time when this va...
متن کاملDeterministic Object Management in Large Distributed Systems
Caching is a widely used technique to improve the scalability of distributed systems. A central issue with caching is maintaining object replicas consistent with their master copies. Large distributed systems, such as the Web, typically deploy heuristic-based consistency mechanisms, which increase delay and place extra load on the servers, while not providing guarantees that cached copies serve...
متن کاملTemplate-Based Runtime Invalidation for Database-Generated Web Contents
We propose a template-based runtime invalidation approach for maintaining cache consistency in database-generated web contents. In our approach, the invalidator sits between a web cache and a database server and intercepts the query statements as well as the update statements transparently. Moreover, it maintains templates for queries and updates, as well as a mapping between URLs and SQL queri...
متن کاملScaling Java-based Dynamic Web Services: Second-Year Project
Managing distributed state is a di cult challenge for building scalable, distributed, wide-area applications. This project presents the design of an infrastructure, called Ivory, to simplify construction of distributed applications by automatically caching and replicating data structures and code. We illustrate the use of our infrastructure in service caches that replicate Web service code and ...
متن کاملScaling Java - based Dynamic Web Services
Managing distributed state is a di cult challenge for building scalable, distributed, wide-area applications. This project presents the design of an infrastructure, called Ivory, to simplify construction of distributed applications by automatically caching and replicating data structures and code. We illustrate the use of our infrastructure in service caches that replicate Web service code and ...
متن کامل