Optimal Push and Pull-Based Edge Caching for Dynamic Content

Bahman Abolhassani, John Tadrous, Atilla Eryilmaz, Serdar Yüksel

Abstract

We introduce a framework and optimal 'fresh' caching for a content distribution network (CDN) comprising a front-end local cache and a back-end database. The data content is dynamically updated at a back-end database and end-users are interested in the most-recent version of that content. We formulate the average cost minimization problem that captures the system's cost due to the service of aging content as well as the regular cache update cost. We consider the cost minimization problem from two individual perspectives based on the available information to either side of the CDN: the back-end database perspective and the front-end local cache perspective. For the back-end database, the instantaneous version of content is observable but the exact demand is not. Caching decisions made by the back-end database are termed 'push-based caching'. For the front-end local cache, the age of content version in the cache is not observable, yet the instantaneous demand is. Caching decisions made by the front-end local cache are termed 'pull-based caching'. Our investigations reveal which type of information, updates, or demand dynamic, is of higher value towards achieving the minimum cost based on other network parameters including content popularity, update rate, and demand intensity.

TL;DR

This paper tackles the challenge of keeping edge caches "fresh" for dynamic content like news feeds or social media updates. By comparing push-based strategies (where the database sends updates) and pull-based strategies (where the cache requests them), the authors prove that a hybrid approach—switching between the two based on an item's popularity and update frequency—minimizes the total cost of network traffic and user dissatisfaction.

What Problem Does This Paper Address?

In the world of 5G and edge computing, we often cache content close to users to save bandwidth and reduce latency. For static files like movies, this is straightforward. However, for dynamic content (e.g., live scores, trending news, or social media), the content changes at the source.

System model of the CDN with back-end database and front-end local cache.

The core challenge is a trade-off:

  1. If you update the cache too often, you waste network resources (high fetching cost $c_f$).
  2. If you update too rarely, users receive stale information (high aging cost $c_a$).

Most existing research uses "Age of Information" (AoI), which measures time elapsed since an update. This paper argues that for many apps, time doesn't matter as much as versions. If a news site hasn't posted a new story in three hours, the three-hour-old story is still "fresh." The authors introduce a framework to minimize costs based on this "Age-of-Version" (AoV) metric, accounting for the fact that the database knows when updates happen, but the edge cache knows when users are actually asking for data.

Methods

The authors model the system as a Content Distribution Network (CDN) with a back-end database and a front-end local cache. They use Poisson processes to model both request arrivals (demand $\beta$) and content updates (generation $\lambda$).

They analyze two distinct control paradigms:

  • Push-Based Caching: The database is in the driver's seat. It knows exactly how many versions behind the cache is but doesn't know exactly when a user will request the item.
  • Pull-Based Caching: The local cache is in the driver's seat. It knows exactly when requests arrive but doesn't know if a new version actually exists at the database until it asks.

Using Markov Decision Processes (MDPs) and a "vanishing discounted cost" approach, the authors derive the mathematically optimal policy for both scenarios. They then propose a Combined Caching policy that categorizes items into two groups based on their popularity-to-update-rate ratio to decide whether to "push" or "pull" for that specific item.

Datasets

This is a theoretical and algorithmic paper, so it does not use a real-world dataset. Instead, the authors evaluate their mathematical models using numerical simulations.

  • Popularity: Modeled using a Zipf distribution, which is the industry standard for representing how a few items (the "hits") get the vast majority of requests.
  • Dynamics: Modeled using synthetic Poisson arrival rates for both requests ($\beta$) and updates ($\lambda$).

Key Insights and Ideas

  • Information Asymmetry: The "winner" between push and pull depends on which side has the more valuable information. If an item is updated constantly but rarely requested, the cache's knowledge of demand is more valuable (Pull). If an item is requested constantly, the database's knowledge of new versions is more valuable (Push).
  • The Threshold of Freshness: The optimal push policy is a simple threshold: update the cache the moment the version age exceeds a specific number ($\eta$). The optimal pull policy is more reactive: update only when a request arrives and a certain amount of time has passed since the last check.
  • The "Aha" Moment: The authors found that the decision to push or pull for a specific item depends almost entirely on the ratio of its popularity to its update rate ($p_n / \lambda_n$). This allows network operators to easily sort their content library and assign the best strategy to each item.

Key Results

  • Optimality Proofs: The paper provides rigorous proofs that threshold-based policies are indeed the cost-minimizing solutions for both push and pull paradigms.
  • Hybrid Superiority: Simulations show that the combined policy consistently outperforms using only push or only pull. It achieves a total cost very close to a "Genie-aided" paradigm (a theoretical ideal where the controller knows both updates and requests perfectly).
Comparison of optimal costs for different caching schemes as a function of request intensity.
  • Buffer Management: When cache space is limited, the authors show that the best strategy is to fill the cache with the most popular items and then apply the hybrid push/pull logic to those specific items.
  • Performance Gains: As request intensity ($\beta$) increases, the push-based approach becomes significantly more efficient than pull-based, as the cost of "missing" an update becomes too high.

Limitations and Future Work

  • Poisson Assumptions: The model assumes request and update arrivals follow a Poisson distribution (memoryless). In reality, internet traffic is often "bursty," which might require more complex modeling.
  • Linear Aging Cost: The authors assume the "cost" of being one version behind is linear. While they mention this can be generalized to convex functions, the specific thresholds provided in the paper are optimized for the linear case.
  • Instantaneous Updates: The model assumes that once a decision to update is made, the content arrives at the cache instantly. It doesn't account for network congestion or variable download times during the update process itself.

Future work could involve extending these policies to multi-tier caching (e.g., regional caches between the database and the edge) or incorporating machine learning to predict update patterns that don't follow simple statistical distributions.

Summary updated

BibTeX
@article{abolhassani2024optimal,
  author = {Bahman Abolhassani and John Tadrous and Atilla Eryilmaz and Serdar Yüksel},
  title = {{Optimal Push and Pull-Based Edge Caching for Dynamic Content}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2024},
  doi = {10.1109/tnet.2024.3352029},
}
Figure