VA-CDH: A Variance-Aware Method to Optimize Latency for Caching with Delayed Hits
Bowen Jiang, Chaofan Ma, Duo Wang
TL;DR
The paper tackles latency in caching with delayed hits by revealing that the variance of aggregate delay, not just its mean, critically affects performance. It derives the Poisson-based distribution of the aggregate delay $D_i$ and proposes VA-CDH, a variance-aware eviction policy that combines the mean $E[D_i]$ and standard deviation $σ[D_i]$ in a mean-plus-variance ranking. VA-CDH uses a sliding-window online estimator for per-object arrival rates and residual times to compute eviction priorities and adapt to non-stationary workloads. Empirical results on synthetic and real traces show consistent latency reductions of about $1\%-6\%$ over state-of-the-art delayed-hit algorithms, demonstrating practical benefits for CDN and MEC environments.
Abstract
Caches are fundamental to latency-sensitive systems like Content Delivery Networks (CDNs) and Mobile Edge Computing (MEC). However, the delayed hit phenomenon where multiple requests for an object occur during its fetch from the remote server after a miss significantly inflates user-perceived latency. While recent algorithms acknowledge delayed hits by estimating the resulting aggregate delay, they predominantly focus on its mean value. We identify and demonstrate that such approaches are insufficient, as the real aggregate delay frequently exhibits substantial variance in the true production system, leading to suboptimal latency performance when ignored. Thus, we propose VA-CDH, a variance-aware method to optimize latency for caching with delayed hits. It employs a novel ranking function that explicitly incorporates both the empirically estimated mean and standard deviation of aggregate delay, allowing caching decisions to account for its variation. We derive the analytical distribution of aggregate delay under Poisson arrivals as a theoretical contribution, offering more statistical insight beyond the mean value. Through the simulations conducted on synthetic and real-world datasets, we show that VA-CDH reduces the total latency by 1%-6% approximately compared to state-of-the-art algorithms.
