Abstract
We investigate the problem of coded caching in networks where a server manages multiple independent libraries, and users request files from each. While single-library coded caching is well-understood, the multi-library scenario introduces the question of whether coding across libraries provides additional gains. We demonstrate that when libraries contain an equal number of files, a simple memory-sharing strategy—partitioning the user's cache proportionally to file sizes—is optimal. For cases with varying library sizes, we provide inner and outer bounds, proposing a greedy algorithm for cache allocation.
Introduction
Coded caching is a pivotal technique for mitigating peak-hour traffic in Content Delivery Networks (CDNs). By proactively caching content during off-peak periods and utilizing coded broadcasts during peak demand, servers can satisfy multiple user requests simultaneously. Traditional models typically assume a single library of uniform file sizes. However, modern CDNs often aggregate content from diverse providers (e.g., Netflix, YouTube), each with distinct file characteristics and independent request patterns. This study addresses whether treating these libraries as a single "super-library" for coding purposes offers any advantage over treating them independently while sharing a common cache.
Methodology
The authors extend the framework established by Maddah-Ali and Niesen (2014) to a multi-library environment. The system model considers $L$ libraries, where each library $\ell$ has $N_\ell$ files of size $F^{(\ell)}$, and $K$ users each with a cache of size $M$.
- Memory-Sharing Strategy (Inner Bound): The user's cache is divided into segments, each dedicated to a specific library. Standard single-library coded caching is then applied within each segment.
- Concatenation (Outer Bound): A theoretical limit is derived by considering a hypothetical library formed by concatenating files from different sources, allowing the application of existing single-library converse proofs.
- Optimization: For libraries with disparate file counts and sizes, a greedy algorithm (Algorithm 1) determines the optimal cache allocation by identifying the library that yields the most significant reduction in delivery rate at any given allocation point.
Key Insights: The Optimality of Separation
The central finding is the "Optimality of Separation." When libraries have an identical number of files ($N_\ell = N$), coding across libraries is unnecessary. The system achieves peak efficiency through simple memory-sharing. In this scenario, the optimal allocation is proportional: cache space should be distributed according to the relative size of files in each library. For example, if Library A's files are twice as large as Library B's, Library A should receive twice as much cache space.
This result has significant practical implications, as it allows CDNs to manage content providers independently, enhancing system robustness and simplifying implementation without sacrificing performance. If one provider's server fails, it does not impede the decoding of files requested from other providers.
Key Results and the "V-Curve"
For the case where $N_1 = N_2 = \dots = N_L$, the authors prove that the total delivery rate $R$ is exactly the sum of the optimal rates for each library treated independently. A motivating example involving two libraries and two users illustrates this through a "V-curve."
As shown in Figure 1, the total delivery rate $R_1 + R_2$ is a convex, piecewise linear function of the cache allocation ratio $\lambda$. The minimum rate is achieved precisely at the proportional split point, confirming that memory-sharing is the most efficient strategy.
Conclusion and Future Work
The study confirms that for symmetric library sizes, memory-sharing is the optimal strategy. While the authors conjecture that this optimality holds for arbitrary library sizes, a formal proof for the general case remains an area for future research. Current inner and outer bounds provide a tight characterization of performance limits, suggesting that coding across libraries is likely never beneficial, regardless of the library configurations.
Summary updated