Extended Consistent Hashing: An Efficient Framework for Object Location

  • Authors:
  • Shan Lei;Ananth Grama

  • Affiliations:
  • -;-

  • Venue:
  • ICDCS '04 Proceedings of the 24th International Conference on Distributed Computing Systems (ICDCS'04)
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Content Caching and location are key enabling technologies for achieving the high thoughput needed to sustain current internet infrastructure, both for peer-to-peer as well as client-server applications. An important aspect of distributed caching techniques is the mapping of data and requests to maximize system throughput while minimizing costs in the presence of network and cache failures. In this paper, we describe a new cache protocol based on Consistent Hashing (CH) [6, 7]. Compared to Consistent Hashing, our protocol, called Extended Consistent Hashing (ECH), can handle flash access to objects significantly better and yields better worst-case response times and lower load variance.Due to multiplicity of client views in a distributed hashing scheme, a single object (or its reference) may be cached at multiple locations. This is referred to as the spread of an object. Consistent hashing maps a request to a cache irrespective of the spread of the requested object. ECH, on the other hand, estimates the spread of an object and randomizes requests over expected spread. In doing so, it amortizes requests over a larger number of caches. While the expected load on target caches in ECH remains the same as Consistent Hashing (asymptotically optimal), load variance is significantly reduced. We present analytical results as well as simulations to demonstrate significant improvements for querying accessed objects, up to 80% in worst-case response time and 30% in variance of server/target cache loads. We also show excellent correlation between expected and observed results. What makes ECH particularly attractive is that it can be integrated into existing infrastructure based on Consistent Hashing with minimal software overhead.