On the Power of False Negative Awareness in Indicator-based Caching Systems

Itamar Cohen, Gil Einziger, Gabriel Scalosub

TL;DR

This paper introduces the concept of "false negative awareness" for distributed caching systems. It argues that existing systems, by ignoring potential false negatives in content indicators (like Bloom filters), can suffer significant performance degradation. The authors propose new algorithms that actively consider these false negatives, leading to reduced access costs and more efficient resource utilization.

What Problem Does This Paper Address?

Distributed caching systems, such as Content Delivery Networks (CDNs), often use lightweight indicators (like Bloom filters) to help clients quickly determine if a piece of content might be available in a cache. The challenge is that these indicators aren't perfect. They can produce "false positives" (saying content is there when it's not) and, crucially, "false negatives" (saying content isn't there when it actually is). While much research has focused on minimizing false positives, this paper highlights that false negatives, often caused by indicators becoming "stale" (not updated frequently enough), are a significant and often overlooked problem. When indicators are only updated periodically, a client might be told content isn't available, even if it was recently added to the cache. This can lead to unnecessary fetches from slower, remote servers, increasing overall costs. The paper aims to address this by developing caching strategies that are aware of and actively mitigate the impact of these false negatives.

Methods

The core contribution is the development of "False Negative Aware" (FNA) cache access strategies. Unlike traditional "False Negative Oblivious" (FNO) strategies that only consider caches with positive indications, FNA strategies are designed to intelligently access caches even when their indicators suggest the content is absent.

The authors first analyze how indicator staleness affects false-positive and false-negative rates, particularly in the context of Bloom filters. They then propose algorithms for two scenarios:

  • Homogeneous Settings: All caches have identical attributes (hit ratio, false-positive/negative rates, access cost). They develop an optimal algorithm (HOCSFNA) that minimizes service cost by deciding how many caches with positive and negative indications to access.
  • Heterogeneous and Dynamic Settings: Caches have different attributes, and these attributes might not be perfectly known to the client. They propose a client-side algorithm (CSFNA) that estimates cache attributes (like false-positive and false-negative ratios) and then uses a standard FNO algorithm as a subroutine to make access decisions. This approach allows them to leverage existing FNO guarantees while incorporating false-negative awareness.

Datasets

The paper uses real-world workload traces for evaluation:

  • Wiki (Wikipedia page reads)
  • Gradle (build tool caching)
  • Scarab (recommendation system)
  • F2 (financial transaction processing)

They also use a simulated baseline scenario with three caches of varying access costs and sizes, and explore different miss penalties and update intervals.

Key Insights and Ideas

  • Staleness is the Root Cause: False negatives are not inherent to all indicators but often arise from the practical necessity of periodic updates in distributed systems.
  • False Negatives Can Be Costly: Ignoring negative indications can lead to significantly higher costs, especially when miss penalties are high.
  • Accessing "Negative" Caches Can Be Beneficial: The paper demonstrates that it can be advantageous to access a cache even if its indicator shows a negative result, provided the probability of a false negative is sufficiently high and the potential cost savings outweigh the access cost.
  • Trade-offs Exist: There's a complex interplay between false positives and false negatives. Increasing indicator size might reduce false positives but can sometimes increase false negatives, leading to counter-intuitive performance changes if not handled carefully.
  • FNA Outperforms FNO: FNA strategies consistently show better performance, especially under conditions that exacerbate false negatives (e.g., large update intervals, high miss penalties).

Key Results

  • Significant Cost Reduction: FNA strategies (like CSFNA) achieve substantially lower service costs compared to FNO strategies, with reductions of up to 25% observed in simulations.
  • Resource Efficiency: FNA approaches can match the performance of FNO strategies while requiring significantly fewer resources (e.g., an order of magnitude less caching capacity or bandwidth for indicator advertisements).
  • Robustness to Staleness: CSFNA's performance degrades much more gracefully than CSFNO's as the update interval increases, highlighting its resilience to indicator staleness.
  • Impact of Miss Penalty: Higher miss penalties amplify the benefits of FNA, as the cost of a false negative becomes much more pronounced.
  • Workload Sensitivity: The performance gains of FNA are more pronounced in workloads that exhibit higher recency bias (where new items are frequently requested).

Limitations and Future Work

  • Approximation Guarantees: While the paper provides approximation guarantees for its algorithms, these are based on the assumption of precise estimations of cache attributes. The actual performance might vary with estimation accuracy.
  • Homogeneous vs. Heterogeneous: The optimal strategy for homogeneous settings is presented, but the heterogeneous case relies on existing FNO algorithms as subroutines, inheriting their approximation guarantees.
  • Future Work: The authors suggest exploring:
  • Dealing with non-homogeneous object sizes.
  • Adhering to strict bandwidth constraints for indicator advertisements.
  • Investigating correlated distributed caching schemes.
  • Further research into the role of false negatives in large distributed systems.

Summary updated

BibTeX
@inproceedings{cohen2021power,
  author = {Itamar Cohen and Gil Einziger and Gabriel Scalosub},
  title = {{On the Power of False Negative Awareness in Indicator-based Caching Systems}},
  booktitle = {ICDCS},
  year = {2021},
  doi = {10.1109/icdcs51616.2021.00014},
}
Figure