Modeling and Evaluating of User Access in Content Delivery Network

Long Zhan, Leijie Sha, Rui Wang, Yang Liu2016 · DOI

Abstract

Content Delivery Network (CDN) is a new kind of Internet content service system, built based on IP networks to provide efficient content distribution and satisfy quality-of-service requirements. The fundamental goal of a CDN is to avoid network bottlenecks and links that impede data transmission speed and stability. This paper utilizes a formalized method called Performance Evaluation Process Algebra (PEPA) to model, analyze, and evaluate the operational principles of CDNs. Our analysis demonstrates that CDNs effectively reduce user access response times and prevent network congestion, with simulation results validating these analytical findings.

Introduction

As global web traffic continues to escalate, traditional single-server architectures face inevitable failure under high load. Content Delivery Networks (CDNs) mitigate this by replicating content across a distributed network of edge servers. However, a CDN is a complex, concurrent system involving multiple handoffs between DNS resolution, request redirection, load balancing, and multi-tier caching. Predicting how these components interact is critical for network optimization. This paper addresses the need for a formalized modeling method to evaluate these systems mathematically, moving beyond expensive empirical trials.

Methodology: Formal Modeling with PEPA

The researchers employ Performance Evaluation Process Algebra (PEPA) to create a mathematical representation of user-CDN interactions. Unlike standard process algebras that focus solely on the sequence of events, PEPA incorporates a temporal dimension using action-rate pairs $(\alpha, r)$, where $r$ represents the activity rate assuming an exponential distribution.

System Components and Interaction

The model defines six distinct functional components:

  1. User: Initiates requests.
  2. DNS: Resolves domain names.
  3. CDN Controller: Manages request analysis.
  4. Server Load Balancer (SLB): Distributes traffic.
  5. Cache: Local storage for rapid content delivery.
  6. Origin Content Server (OCS): The primary data source.
System interaction sequence diagram illustrating the handoffs between network components.

The resulting PEPA model is automatically mapped to a Continuous Time Markov Chain (CTMC). By solving the underlying CTMC equations via MATLAB, the authors generate probability curves for response times under various hardware and user-load configurations.

Simulation and Key Insights

The study utilized operational parameters derived from industry literature to simulate a baseline environment of 450 users, 100 DNS servers, 100 SLBs, 5 Cache nodes, and 3 OCS nodes. Several key insights emerged from the simulation data:

Infrastructure Saturation

A significant finding is the "plateau" effect in infrastructure provisioning. The simulation revealed that for the modeled load, 100 DNS and SLB nodes represented a saturation point.

Response time comparison for varying DNS and SLB nodes, demonstrating performance saturation.

As illustrated above, doubling the number of DNS and SLB servers from 100 to 200 yielded zero performance gain. This indicates that these components were no longer the bottleneck; rather, the system's performance limits had shifted to the Cache and OCS layers.

Optimal Resource Ratios

The results suggest that increasing Cache and OCS nodes in a 2:1 ratio is the most effective strategy for improving the user experience. This configuration significantly shifts the response time Cumulative Distribution Function (CDF) to the left, increasing the probability of rapid request completion.

Impact of User Load and OCS Scaling

  • User Load: Increasing the user count from 200 to 450 significantly degraded performance. At a 5-second threshold, the completion probability dropped from ~90% to ~70%.
  • OCS Scaling: Expanding the number of Origin Content Servers from 1 to 3 led to a dramatic improvement in response times, as the system could handle more concurrent cache misses efficiently.

Conclusion and Future Work

This research demonstrates that formal mathematical modeling using PEPA can accurately predict CDN performance and identify resource bottlenecks. While the current model focuses on response time, future work aims to incorporate throughput metrics and cache hit/miss ratios. Additionally, to address the "state space explosion" inherent in large-scale Markov chains, the authors propose utilizing fluid approximation methods to scale the model for internet-sized networks.

Summary updated

Abstract

Content Delivery Network (CDN) is a new kind of Internet content service system, which is built based on IP network and can provide the content distribution and service to satisfy the requirement of content access and application efficiency, the requirement of quality and contents order. The basic idea of CDN is to avoid bottlenecks and link which may affect data transmission speed and stability on the Internet, to make the content transmission faster and more stable. In this paper, we use a highly formalized method, named Performance Evaluation Process Algebra(PEPA), to model, analyze and evaluate the working principle of the CDN. By modeling and analyzing, it can be obtained that CDN can reduce the response time of user access and prevent the network congestion. Simulation results help to prove our analytical results.
BibTeX
@misc{zhan2016modeling,
  author = {Long Zhan and Leijie Sha and Rui Wang and Yang Liu},
  title = {{Modeling and Evaluating of User Access in Content Delivery Network}},
  year = {2016},
  doi = {10.2991/ameii-16.2016.139},
}
Figure