Skip to main content
QUICK REVIEW

[Paper Review] DistCache: Provable Load Balancing for Large-Scale Storage Systems with Distributed Caching

Zaoxing Liu, Zhihao Bai|arXiv (Cornell University)|Jan 23, 2019
Caching and Content DeliveryComputer Science54 references56 citations
TL;DR

DistCache provides provable load balancing for large-scale storage by co-designing multi-layer distributed caching with independent hash partitioning and power-of-two-choices routing, enabling linear throughput scaling with cache nodes.

ABSTRACT

Load balancing is critical for distributed storage to meet strict service-level objectives (SLOs). It has been shown that a fast cache can guarantee load balancing for a clustered storage system. However, when the system scales out to multiple clusters, the fast cache itself would become the bottleneck. Traditional mechanisms like cache partition and cache replication either result in load imbalance between cache nodes or have high overhead for cache coherence. We present DistCache, a new distributed caching mechanism that provides provable load balancing for large-scale storage systems. DistCache co-designs cache allocation with cache topology and query routing. The key idea is to partition the hot objects with independent hash functions between cache nodes in different layers, and to adaptively route queries with the power-of-two-choices. We prove that DistCache enables the cache throughput to increase linearly with the number of cache nodes, by unifying techniques from expander graphs, network flows, and queuing theory. DistCache is a general solution that can be applied to many storage systems. We demonstrate the benefits of DistCache by providing the design, implementation, and evaluation of the use case for emerging switch-based caching.

Motivation & Objective

  • Motivate the need for scalable load balancing in large-scale distributed storage across many clusters.
  • Propose a caching mechanism that balances load without high coherence overhead.
  • Co-design cache allocation with topology and query routing to achieve provable throughput guarantees.
  • Demonstrate a concrete switch-based caching use case and provide a scalable system design.

Proposed method

  • Partition hot objects across two cache layers using independent hash functions.
  • Route queries online with the power-of-two-choices to balance load without central coordination.
  • Provide a mathematical model and prove existence of a feasible allocation (perfect matching) under broad conditions.
  • Analyze using expander graphs, network flows, and queuing theory to show linear scaling of cache throughput with node count.
  • Describe a two-phase cache coherence update protocol and its low overhead.
  • Present a concrete system and prototype for switch-based caching integrating with Redis.

Experimental results

Research questions

  • RQ1Can DistCache guarantee provable load balancing for large-scale, multi-cluster storage systems?
  • RQ2How can independent hash-based partitioning across layers and online power-of-two-choices routing balance load with minimal coherence overhead?
  • RQ3What are the conditions under which the system achieves near-linear throughput scaling with the number of cache nodes?
  • RQ4How can DistCache be realized in switch-based caching and integrated with existing key-value stores?

Key findings

  • There exists a feasible allocation (perfect matching) to absorb queries for the hottest objects under broad workloads with high probability for large enough systems.
  • DistCache enables cache throughput to scale linearly with the number of cache nodes across layers.
  • The power-of-two-choices routing yields a distributed, online, and near-optimal solution without a central controller.
  • A two-layer cache design with independent hashing can balance inter-cluster and intra-cluster loads and reduces coherence overhead.
  • A concrete switch-based caching architecture and prototype show practical applicability and low coherence overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.