Proactive Video Chunks Caching and Processing for Latency and Cost Minimization in Edge Networks

Emna Baccour, Aiman Erbad, Amr Mohamed, Kashif Bilal, Mohsen Guizani

TL;DR

This paper introduces a collaborative edge caching framework that treats videos as sequences of independent chunks rather than monolithic files. By modeling user "drop-off" behavior with a probabilistic Weibull distribution, the system proactively caches only the most likely-to-be-watched segments, reducing CDN costs and latency by up to 50% compared to traditional whole-video caching methods.

What Problem Does This Paper Address?

Video-on-Demand (VoD) accounts for over 60% of global mobile data traffic, a figure predicted to keep climbing. To handle this, researchers use Mobile Edge Computing (MEC) to cache content closer to users. However, most existing solutions cache entire video files.

The authors identify a major inefficiency: users rarely watch a whole video. Statistics show the average mobile watch time is only about 2.8 minutes. Caching a 20-minute video when a user only watches the first three minutes wastes precious edge storage and computational power (for transcoding). Furthermore, edge servers have very limited resources compared to central clouds, making "greedy" whole-video caching unsustainable.

Methods

The authors propose a system that manages video at the chunk level (small segments of a few seconds) and uses a cluster of collaborating edge servers to share the load. Their approach consists of three main components:

  1. Probabilistic Viewing Model: They analyzed real-world YouTube data to model how users stop watching videos. They found that "drop positions" follow a Weibull distribution, which varies significantly by category (e.g., people stop watching "News" much earlier than "Films").
  2. Popularity-Aware Policies:
    • Proactive Caching Policy (PcP): Pre-loads the most likely requested chunks into the cache during low-traffic periods.
  3. Cache Replacement Policy (CrP): A reactive strategy that minimizes data duplication across the cluster. It ensures that if a high-quality version of a chunk exists nearby, a lower-quality version isn't stored, as it can be transcoded on the fly.
  4. PCCP Greedy Heuristic: An online algorithm that coordinates these tasks. When a request comes in, it decides whether to serve from the local cache, fetch from a neighbor, transcode a higher-quality version, or—as a last resort—pull from the central CDN.

Datasets

The study utilizes the TweetedVideos dataset, which contains metadata for over 5 million YouTube videos. This dataset provided the raw "view count," "watch time," and "video duration" data necessary to fit their Weibull distribution models across 14 different content categories (e.g., Gaming, News, Sports).

Key Insights and Ideas

  • Granularity Matters: Moving from file-level to chunk-level caching allows the network to be much more surgical. You don't just cache "popular videos"; you cache the "popular parts of popular videos."
  • Category-Specific Logic: The "aha moment" here is that a sports highlight has a different consumption pattern than an educational lecture. By fitting different mathematical parameters to different categories, the cache becomes much more efficient.
  • Collaboration Over Redundancy: Instead of every base station trying to store everything, the "cluster" approach treats neighboring servers as a shared resource. One server might store the 1080p version while another stores the 720p version, and they transcode for each other as needed.
  • The Transcoding Trade-off: The paper treats computation (transcoding) as a substitute for storage. If you have the CPU cycles to downsample a high-bitrate chunk, you don't need to waste storage space on the low-bitrate version.

Key Results

The proposed PCCP (Proactive Chunks Caching and Processing) system was compared against state-of-the-art models like CachePro, CoCache, and JCCP:

  • Cache Hit Ratio: With a cache size of only 10% of the total library, the proposed system achieved a hit ratio of 0.79 (and up to 0.97 when using a look-ahead window), while competitors hovered around 0.45–0.56.
  • Cost Reduction: The system reduced CDN transit costs significantly because fewer "unwatched" chunks were ever pulled from the cloud.
  • Efficiency Gain: In several scenarios, the performance improvement reached 50% over conventional replacement policies like Least Recently Used (LRU).

Limitations and Future Work

  • Heuristic vs. Optimal: The PCCP algorithm is a "greedy" heuristic. While fast and practical for real-time use, the paper does not explore how close this comes to a theoretically optimal (but computationally expensive) solution.
  • User Mobility: The model assumes users stay connected to a "home" base station during their session. In high-mobility scenarios (like watching video on a train), the collaborative cluster would need more complex handoff logic.
  • Prediction Overhead: While fetching the "next" chunk (look-ahead) improves the hit ratio, it risks fetching data the user might never watch if they skip ahead or close the app, potentially increasing costs if the prediction window is too aggressive. Future work could involve more dynamic window sizing.

Summary updated

BibTeX
@inproceedings{baccour2019proactive,
  author = {Emna Baccour and Aiman Erbad and Amr Mohamed and Kashif Bilal and Mohsen Guizani},
  title = {{Proactive Video Chunks Caching and Processing for Latency and Cost Minimization in Edge Networks}},
  booktitle = {WCNC},
  year = {2019},
  doi = {10.1109/wcnc.2019.8885906},
}
Figure