Next Article in Journal
Promising Electrode Surfaces, Modified with Nanoparticles, in the Sensitive and Selective Electroanalytical Determination of Antibiotics: A Review
Previous Article in Journal
Cloud–Edge Hybrid Computing Architecture for Large-Scale Scientific Facilities Augmented with an Intelligent Scheduling System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Redirection and Protocol Mechanisms in Content Delivery Network-Edge Servers for Adaptive Video Streaming

Computer Department, College of Science, University of Sulaimani, Sulaimani 46001, Iraq
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(9), 5386; https://doi.org/10.3390/app13095386
Submission received: 24 March 2023 / Revised: 5 April 2023 / Accepted: 19 April 2023 / Published: 26 April 2023

Abstract

:
Redirection and protocol techniques are key components of the infrastructure for Content Delivery Networks (CDNs) that aid in the delivery of Multimedia Internet services to end-consumers. Redirection methods are used to route the user’s request to the nearest edge server, minimizing distance, improving delivery times, and lowering latency. Protocol mechanisms, such as HTTP Live Streaming (HLS), Dynamic Adaptive Streaming over HTTP (DASH), and Real-Time Messaging Protocol (RTMP), are used to deliver adaptive video streaming. These protocols are designed to transfer the adaptive streaming and provide high-quality video playback. They also allow the system to adjust the video quality based on the network conditions of the Quality of Service (QoS). Inadequate transmission protocols and poorly designed redirection algorithms are two major challenges that might degrade Cloud–CDN performance. These challenges lead to excessive latency, poor quality of service, and significant packet loss that have potential influences on the user experience. In this paper, firstly, three protocols are proposed by preparing a case study on selecting the optimal protocol for replicating adaptive video streaming content. Secondly, a redirection algorithm based on the Modified Cuckoo Search Algorithm (MCSA) is proposed to provide an accurate redirecting process of selected edge servers to end-users. Test results indicate that, when hybrid FASP/HTTP protocols were chosen (from original server to replicate server and to end-users), the delivery of adaptive video streaming segments was fast with lower latency. The average estimated time needed for replicating video content based on FASP is 25% better than that needed for File catalyst and Signiant protocols. Therefore, the Cuckoo search method presents more efficient results for selecting the optimal edge server for 100 servers, which is 0.296 s, compared to the conventional algorithm, which was 13 s.

1. Introduction

Large-scale distributed edge servers are strategically placed in numerous places that are known as Content Delivery/Distribution Networks (CDNs). Both CDN and cloud computing are designed to improve the performance and scalability of web-based services. However, CDN focuses on content delivery, while cloud computing focuses on providing a wide range of computing resources over the internet. CDNs provide services that improve data transfer by boosting bandwidth and lowering access latency [1]. Distribution of object copies, request-routing mechanism, and content delivery to end-users make up a CDN’s infrastructure. A CDN’s goal is to serve content to end-users with high availability and performance. CDNs are used to distribute content such as web pages, video, audio, and software downloads [2]. They work by replicating content to multiple servers and then directing users to the server that is closest to them, reducing the time it takes for the content to be delivered. This improves the user experience while reducing the load on the original content server [3].
Furthermore, a significant amount of downstream Internet traffic is being produced by the highly successful deployment of Over-The-Top (OTT) services and CDNs for multimedia streaming applications. In addition, video usage increased by 24% in 2022, accounting for 65% of all internet traffic. For the first time, Netflix surpassed YouTube as the individual application generating the most traffic, with TikTok, Disney+, and Hulu [4]. However, according to its analysis of current usage data from over 177 service providers worldwide, Facebook, Amazon, Google, Apple, Netflix, and Microsoft continue to generate nearly half of all internet traffic, with Google and Netflix accounting for the highest volumes [5].

1.1. Research Contributions

In this paper, three contributions have been provided to develop more efficient and effective solutions:
  • For proposing hybrid protocols by preparing a case study on selecting optimal protocols for replicating adaptive video streaming content over the edge networks’ servers, it is important to consider the following factors: The network topology of the edge servers is a crucial factor in determining which protocol is the most suitable. For example, if the edge servers are located in different geographical regions, a protocol that can handle large distances and network congestion would be more appropriate. The protocol chosen should be able to handle adaptive streaming and provide high-quality video playback. The chosen protocol should be able to reduce latency as much as possible. The protocol should be able to efficiently use the available bandwidth to deliver video content to users. A thorough evaluation and testing of each protocol in the edge network environment are necessary to determine the optimal protocol.
  • A redirection algorithm based on Cuckoo search can be proposed to provide an accurate redirecting process of selected edge servers to end-users. The basic idea behind this algorithm is to use the Cuckoo search optimization technique to determine the optimal location of the edge servers that will provide the best performance for the end-users. The Cuckoo search algorithm can be used to find the optimal solution by mimicking the behavior of cuckoos in the natural world. In this algorithm, the edge servers are seen as cuckoos and the optimal location of the edge servers is seen as the best nest. The algorithm uses a combination of random walk and Levy flight, which is inspired by the random searching behavior of cuckoos, to explore the solution space and find the optimal location of the edge servers.
  • The applied protocols mechanism and redirection algorithm can further improve the service of QoE for adaptive video streaming.

1.2. Background and Literature Review

In the following sections, an intensive survey has been made for Cloud–CDN’s protocols, mechanisms, and redirection algorithms for adaptive video streaming.

1.2.1. Adaptive Video Streaming and CDN

Every day, millions of videos are uploaded to the Internet. End-users from all around the world commonly request to watch a substantial chunk of these video files [6]. Adaptive video streaming is a method of delivering video material over the internet that modifies the video quality in real-time dependent on the viewer’s internet connection and device capabilities. This ensures a seamless and uninterrupted viewing experience, even on devices with limited internet or computing capacity. HTTP Live Streaming (HLS), Common Media Application Format (CMAF), Microsoft Smooth Streaming (MSS), Dynamic Adaptive Streaming over HTTP (DASH), and Adobe HTTP Dynamic Streaming (HDS) are common adaptive bitrate streaming methods. These protocols function by dividing the video into small pieces and encoding it at multiple bitrates, leaving the player to switch between them dependent on network circumstances [7,8,9]. CDNs can be utilized in conjunction with adaptive video streaming to guarantee that video equipment is delivered fast and efficiently to the users. The CDN can handle the distribution of video files to multiple locations, while the adaptive streaming technology can adjust the quality of the video on the fly. In recent years, there have been several issues that can arise with cloud-based content delivery networks that can impact the delivery of content to users. CDNs rely on a large number of servers to distribute content. Moreover, CDNs use caching to store frequently accessed content on servers closer to the user. Based on the user’s location, the CDN system routes users to the nearest server referred to as a Point of Presence (PoP). This is accomplished using a technique known as “geographic routing”, which compares the user’s IP address to the closest PoP and the system directs the user to the closest server for content delivery. As a result, the user experience is enhanced and latency is decreased [10]. In CDNs, a Cache Server temporarily stores frequently accessed content. A Proxy Server acts as an intermediary between the end-user and the origin server, forwarding requests from the end-user to the origin server and returning the responses back to the end-user. The cache server decides which data to preserve in its cache and which data to delete when its memory is full using a variety of methods, including Least Recently Used (LRU), Most Recently Used (MRU), and Least Frequently Used (LFU) [11,12].

1.2.2. Content Replication Based on Push Protocols

Content replication refers to the duplication of data or content to multiple locations to ensure its availability and consistency. In CDNs, to replicate the content over edge servers, two important protocols are considered: UDP (User Datagram Protocol) is a quick, erratic, and unordered method of data transport, whereas TCP (Transmission Control Protocol) is dependable and ordered. Where speed is important and delivery order is not essential, such as in live streaming, UDP may be utilized for video equipment. TCP, on the other hand, is more appropriate for video equipment where dependability is crucial, such as video on demand. The choice between TCP and UDP for video content delivery depends on the specific requirements of the application and the trade-off between reliability and speed. Therefore, different protocol-based application layers to push segmentation of adaptive video streaming in CDN infrastructure are proposed [13]. Their purpose was to reduce resource usage of CDN components. The optimal push protocol is selected to reduce the overhead of surrogate servers and reduce usage of the network resources. Allan et al. [14] investigated the mechanism of Server Push by employing QUIC as a primary transport protocol for multicast-assisted adaptive bitrate streaming. The proposed approach gave a significant solution that reduced the amount of established video streaming sessions and reduced the wastage of network bandwidth.
Brian et al. [15] discussed the advantage of HTTP/2, which is a popular protocol that provides several improvements over its predecessor HTTP/1.1 such as multiplexing, server push, and header compression. They designed three modular HTTP/2 server push-based strategies leveraging Multipath TCP to improve the delivery of video content in lossy environments. Their goal is to improve start-up delays and overall performance. The combination of HTTP/2 and MPTCP can provide a powerful and flexible architecture for adaptive bitrate video delivery, enabling high-quality video playback even in challenging network conditions.
Arvin et al. [16] compared application layer protocols for video transmission. They take advantage of WebSocket to support adaptive bitrate streaming, where the server can send different qualities of the video stream based on the client’s available bandwidth. One potential challenge with WebSockets over a CDN is the need to ensure that the WebSocket connection is established and maintained across all CDN edge locations. However, modern CDNs provide sophisticated WebSocket routing and load balancing mechanisms, enabling WebSocket connections to be efficiently and reliably established across the CDN. Server-Sent Events (SSE) [17] over a CDN can provide a powerful and efficient solution for real-time content delivery, enabling fast and responsive updates to be delivered to clients, regardless of their location or available bandwidth. Data transmission between original server and edge servers based on strategy protocols are summarized in Table 1 [13,14,15,16,17].

1.2.3. Redirection Algorithm

A redirection algorithm in Cloud–CDN is a set of instructions that determine how to redirect a client’s request in a network to one of the selective edge servers. Analysis of CDN performance related to the redirection mechanism was studied by Sitorus et al. [18]. Several algorithms were used, including the Geographical algorithm Domain Name Server (GeoDNS), Round Robin (RR), Weighted Round Robin (WRR), and Least Connection (LC). The study aimed to evaluate the performance of these algorithms in terms of response time and load balancing. The results of the study showed that the GeoDNS algorithm performed the best in terms of response time, and in terms of load balancing, the WRR algorithm performed the best. However, the choice of algorithm may depend on the specific needs of a particular application or network.
Ran et al. [19] focused on the key issue of server selection. Therefore, the selection process is one of the key technologies in distributed systems, including CDN, Mobile CDN, and Cloud Computing. The server selection mechanism is designed to support user mobility and maximize user-perceived service quality. The results show that the delay in the packets has been reduced and the quality of the video streaming service has improved. This proposal provided efficiency and scalability for the mobile CDN system.
Taleni et al. [20] discussed the guarantee of QoE for video streaming on the cloud. To ensure quality of experience, video streaming over the Internet requires a high bandwidth. However, the Internet does not guarantee latency and packet loss. They integrated Load Balancing Routing Protocol (LBRP) as an adaptive routing protocol for SDN-Based Clouds, which is to enhance the user experience of video streaming. The protocol achieves routing by taking into account various parameters, including link capacity and re-routing non-real-time traffic towards under-utilized links. LBRP is able to optimize the distribution of network bandwidth, improving the throughput and reducing the delay of the video stream.
The proliferation of CDN services has made it challenging to manage basic network resources effectively. Yijing et al. [21] proposed a machine learning-based approach, which provides an effective solution for detecting CDN domain names and acceleration nodes accurately. The method leverages the basic principles and workflow of CDN and considers multiple features and attributes of CDN services. The proposed approach is essential for ensuring the security and reliability of the network and enabling effective resource management.
Boubakr et al. [22] discusses Information-Centric Networking (ICN) as a potential design for the future internet, which uses content names instead of host addresses, decouples content from its original location, and enables in-network caching. The authors suggested a distributed architecture and a hybrid cache concept. By moving the most popular content to the network’s perimeter and maintaining the least popular content in the center, the suggested strategy attempts to choose the best location for that content in the content store. The results show that the proposed mechanism outperforms the existing mechanism according to efficiency.
Based on the gap that has been detected in this section, a hybrid protocol for broadcasting video content and the efficient redirection process based on the Modified Cuckoo Search Algorithm (MCSA) is proposed, which overcomes the above-mentioned issues. The main motivation of this research is to select an optimal edge server for the end-users’ request (i.e., reduce waiting time) and minimize resource usage by deploying the videos across the edge servers to the corresponding client’s request in an efficient way.
The remaining sections of this paper are structured as follows: Details of the suggested protocols and proposed redirection algorithm are described in Section 2. In Section 3, the experimental results are depicted. The results, discussion, and comparison of the findings are explained in Section 4, and Section 5 concludes the main outcomes and provides recommendations for future investigation.

2. Research Methodology

This section describes the fundamental components of the Cloud–CDN system and mechanisms. The CDN mechanisms are original server protocols for video content distribution across edge servers and the redirection algorithm, which routes the end-users to the closest edge server. We also explain the problem statement and the solution of the proposed cloud–CDN system.

2.1. Problem Statement

CDNs are designed to overcome the limitations of traditional networks, and provide better Internet service to end-users by improving availability, performance, and security while reducing latency and costs [23]. Moreover, some common issues can be encountered in the infrastructure of CDNs regarding resource usage of networks. The inadequate transmission protocol that is used to replicate a copy of video content on edge servers plays a crucial role in the performance of the CDN. This can lead to some issues such as high latency, poor quality of service, and high packet loss, which can negatively impact the user experience [24]. An inaccurately designed algorithm for redirecting the end-user’s request to the appropriate edge server has a significant effect on the performance of the CDN [25].

2.2. Problem Solutions

Researchers have recently focused on solving the aforementioned issues. Different protocols to quickly deploy the adaptive video streaming segments onto surrogate servers are proposed. The WebDAV protocol has been selected as an optimal protocol to replicate the video contents. This is due to its ability to efficiently transfer small segments of DASH [13]. Moreover, Quick UDP Internet Connections (QUIC) is employed as the principal transport protocol for low-latency streaming protocols in IP multicast topologies. It makes use of mABR streaming and HTTP/3 server push methods to boost scalability and minimize the number of open streaming sessions, thus conserving bandwidth [14]. Although the redirection mechanism has been considered by [26], they aimed to provide an algorithm based on the qualitative and quantitative characteristics of different sources for selecting the most suitable alternative edge server. PROMETHEE is one of the most extensively utilized strategies in this respect. A transparent redirection mechanism for CDN surrogate servers is proposed in [27], where the TCP session handoff mechanism is considered as a transparent redirection.

2.3. General System

The proposed system is a distributed computing system that involves multiple components to support the delivery of services to end-users. The proposed system’s components are original servers, edge computing servers, network connection mode, and end-users, as presented in Figure 1.

2.3.1. Server Distribution Mechanism

An original server, also known as a content service provider, is a server that contains the original copy of a website or web application’s content, such as HTML, images, videos, and other media. When a user requests a resource from a website, the request is sent to the original server, which in turn will respond according to the requested resource. The original server is a physical server or it can be a virtual machine hosted in a data center or cloud environment. It is responsible for generating dynamic content, processing user input, and handling back-end logic. The original server in this work can also be used as a central storage for multimedia content that is accessed and shared by multiple users. These multimedia files are stored in databases, file systems, or other types of storage.
In a server provider, to distribute the multimedia content (video and audio), we need a distribution protocol (server push mechanism) to replicate these contents to the optimal edge servers. Therefore, according to the investigations that have been done in Section 2, FASP [28], File Catalyst protocol (FCP) [29], and Signiant [30] have been tested as distribution protocols to select the optimal and most efficient protocol. These protocols must be configured to transmit an adaptive video streaming from the original to the edge server. The CDN system adopts these protocols to duplicate the segmentation of adaptive video streaming.

2.3.2. Edge Servers

The edge servers are located at the edge of the network. The benefit of the edge server is being close to the end-users, reducing latency and improving performance. They are typically used to cache content and deliver it to users without having to fetch videos from a more distant server. The configuration of edge servers can vary depending on the specific requirements for a particular application or service. The edge servers have been configured according to two mechanisms. In the first mechanism, a copy of the video is to be stored and each edge server is aware of the availability of the video content over the other servers by considering the synchronization mechanism. In the second mechanism, these edge servers will take the responsibility of replying to the client’s request with the requested video content. These servers have also been configured to listen to the broadcast of FASP, File Catalyst protocol, and Signiant protocols from the original servers.

2.3.3. Network Connection and Quality of Service (QoS)

There are various techniques that have been used to manage network traffic and prioritize certain types of data, which ensure that the critical applications receive the necessary resources and network bandwidth for optimal performance. QoS is important in networks where different types of traffic, such as voice, video, and data, are competing for limited network resources. Furthermore, QoS can be implemented at various levels of the network, including network connection levels, and cellular and wireless networks. QoS for network connections typically involves configuring network devices, routers, switches, and firewalls. They prioritize certain types of traffic based on their characteristics, such as the type of application, the size of the data packets, and the source and including destination addresses. Consequently, QoS can help to ensure that critical applications receive the necessary network bandwidth and resources for optimal performance, while minimizing delays, packet loss, and other network issues.

2.3.4. End-Users

End-users are users that receive services from original servers and edge servers. On the client-side, end-users typically interact with the user interface of the service or application, and their satisfaction with the performance, usability, and functionality of the service can greatly impact their overall experience. This is why network service and application providers often focus on optimizing their offerings to meet the needs and expectations of end-users.

2.4. Content Transfer Protocols

The adapted methodology for this case study was started by investigating the recent protocols that are recommended for this system. It was found that there was an issue regarding the arrival time, which included the delay of video streaming segments. Therefore, depending on the investigation results, three protocols have been proposed to solve this delay issue. These protocols are FASP, File Catalyst protocol (FCP), and Signiant. They are considered as the most adequate protocols for delivering adaptive video streaming segments. These protocols have been selected based on delay time (protocols with a minimum arrival time). In Figure 2, the proposed protocols between the original and edge servers in a cloud–CDN are described.

2.4.1. FASP (Fast and Secure Protocol)

FASP is a file transfer protocol that is designed to facilitate high-speed, reliable, and secure data transfers over wide area networks (WANs). It is commonly used in industries that require large-scale data transfer, such as media and entertainment, healthcare, scientific research, and government agencies. FASP is available as a standalone software application, called Aspera Connect, which allows users to transfer files using the FASP protocol. It is also available as a plugin for popular file transfer tools such as FTP and SCP, which allows users to seamlessly integrate FASP into their existing workflows. FASP achieves high transfer speeds by optimizing network bandwidth utilization and minimizing latency. It achieves security by using encryption to protect data in transit and authentication to ensure that only authorized users can access the data. Overall, FASP has become a popular choice for organizations that need to transfer large amounts of data quickly and securely over long distances, and it has helped to overcome some of the limitations of traditional file transfer protocols such as FTP and SCP.

2.4.2. FCP (File Catalyst Protocol)

FCP is designed to enable high-speed file transfer over IP networks, especially for large files and data sets. Unlike TCP-based protocols, FCP is a UDP-based protocol that operates in parallel with other network traffic. This allows it to achieve high transfer rates, while minimizing network latency and avoiding congestion. It also includes various features to ensure reliability and security of file transfers, such as error detection and correction, packet-level resends, and encryption. FCP is optimized for high-speed data transfer, and it operates in parallel with other network traffic, which allows it to maximize bandwidth utilization and minimize network latency and congestion. FCP uses a combination of techniques to optimize transfer speeds, including parallel packet transmission, dynamic congestion control, and adaptive packet sizing.

2.4.3. Signiant

Signiant is a high-speed data transfer protocol designed for securely transferring large files and data sets over long distances. It uses patented acceleration technology to optimize transfer speeds, regardless of network conditions, while maintaining security and reliability. Overall, Signiant is a powerful and flexible data transfer protocol that is well-suited for large-scale, high-speed transfers over long distances. Its combination of speed, security, and reliability features make it a popular choice for a variety of industries and applications, including media and entertainment, healthcare, scientific research, and government agencies.

2.5. Redirection Algorithm

Adaptive routing algorithms make decisions based on real-time information about the state of the network and servers, which means they can choose the optimal replica server at any given moment. However, this also means that adaptive algorithms require more bandwidth and computational resources to continuously monitor and exchange information about the state of the network and servers. On the other hand, non-adaptive routing algorithms do not consider the current state of the network and servers when making routing decisions. Instead, they use a predetermined set of rules or metrics to select a replica server. Non-adaptive algorithms are less complex and do not require real-time monitoring of network and server states, which means they consume less bandwidth and computational resources. The choice between adaptive and non-adaptive routing algorithms depends on the specific requirements of the system, such as the desired level of performance, scalability, and fault tolerance. In general, adaptive algorithms are better suited for systems that require high performance and scalability, while non-adaptive algorithms are more suitable for simple, low-resource systems or applications that are not highly sensitive to performance.
In this work, an adaptive algorithm to select the optimal replica server is proposed based on modified CSA. The Cuckoo Search (CS) algorithm is considered as an efficient swarm-intelligence-based algorithm [31].
The mathematical model of the modified cuckoo search algorithm is explained as follows:
Let f(X) be the objective function to be optimized, where Xi = (x1, x2, …, xn) represents the solution or position in the search space, and n is the dimensionality of the problem.
Generate an initial population of cuckoo search algorithm with random positions X = (x1, x2, …, xn) within the defined search space. Evaluate the fitness of each cuckoo in the population using the objective function f(X).
For each cuckoo, update its position X by performing a Lévy flight, which is a random walk with a heavy-tailed distribution. The new position X′ is given by:
X′ = X + Lévy(λ) ∗ (X − Xbest)
where Lévy(λ) is a random number drawn from a Lévy distribution with parameter λ, Xbest is the position of the best cuckoo in the population, and ∗ denotes element-wise multiplication [32,33].
Our modification is based on many parameters of the testbed such as (Throughput, CPU usage, Memory consumption, QoS (delay, jitter, packet lost)). To be adaptively rout for an optimal edge server, some thresholds have been used to minimize the response time using CSA. First of all, we put a condition with a maximum throughput to retrieve all servers that is greater than 95%. Then, another condition has been made by minimizing CPU usage less than to 60%. Finally, we have taken into account the memory consumption by selecting those edge servers that have memory consumption of less than 40%. The modified pseudo code of CSA is written in Algorithm 1.
Algorithm 1. Modified Cuckoo Search Algorithm
1: Objective function f(X), X= (f(x1, x2, …, xd)T
2: Generate initial population of n host nests Xi           (i = l, 2, …, n)
3: While t < Max iterations do
4:          Get a cuckoo randomly by Levy flights
5:          Evaluate its quality/fitness Fi
6:          Choose a nest among n (say, j)                            randomly
7:          If Fi > Fj then
8:              Replace j by the new solution;
9:          End If
10:      Get (max_Throughput, min_cpu, min_memory)
11:      If max_Throughput [i] > 95 then
12:            max_Throughput [j] = max_Throughput [i]
13:      Else If min_cpu [i] < 60 then
14:            min_cpu [j] = min_cpu [i]
15:      Else If min_memory [i] < 40
16:            min_memory [j] = min_memory [i]
17:      End If
18:      Keep the best solutions
The general flowchart of the proposed adaptive video streaming system based on MCSA is presented in Figure 3. First, all input parameters are initialized in the virtual CDN Linux-based platform, such as the number of servers, routers, and clients. Then, the optimal protocol is chosen to transmit video content to the edge servers from the original server. To select the optimal edge server, the MCSA is performed based on some conditions. Finally, with critical QoS parameters, the client’s request is redirected to a select optimal edge server as shown in Figure 4.

3. Experimental Results

This section describes the implementation process of the proposed mechanisms in the CDN scenario; the testbed implementation has been taken from [13]. It includes two subsections: a selective hybrid protocol and optimal redirection bases on the Modified Cuckoo Search Algorithm.

3.1. Optimal Push-Protocol Selection

In this study, the hybrid protocol includes one of the selective distribution content protocols that delivers video content to end-users from the original server to the edge server. In a selective hybrid protocol, the sender first establishes a connection with the edge server using a connection-oriented protocol, such as the File Catalyst, Signiant, and FASP. Once the video content arrives to the edge server, the receiver can establish connection with one of the closest edge servers through HTTP. This allows an efficient transfer of data while maintaining the reliability of a connection-oriented protocol.
An experiment was conducted for one minute of video [34,35]. This video is segmented according to MP4Box [36] for a segment length equal to 2 s; the details of the parameters of the experimental process are explained in Table 2. The arrival time is calculated based on a timer from sending the video segment data until received by the edge server. In Figure 5, the arrival time versus packet loss is depicted for the File Catalyst, Signiant, and FASP protocols. The impact of packet loss is considerably observed in the File Catalyst and Signiant protocols due to many retransmissions of the video packets.
The same test has been conducted for different segment sizes; in this experiment, each segment size has chunked into 10 MB. Figure 6 shows that the FASP recorded better results than the File Catalyst and Signiant. Moreover, the File Catalyst resulted in less delay in transmitting large segments than the Signiant.
Another test has experimented with 30 video segments with a duration of 2 s per segment that have been sent to monitor the maximum throughput usage of the used protocols (File Catalyst, Signiant, and FASP). A significant variation can be observed in the throughput of the protocols when transmission time is affected by packet loss of 5%. For the File Catalyst protocol, a remarkable delay of the arrived segments has been observed as there were many packets lost. This leads to longer transmission duration as shown in Figure 7.
While retransmission can help mitigate the effects of packet loss, it can also introduce additional delays and network traffic, as packets are re-sent multiple times. Consequently, it is important to make balance between reliability and performance when implementing retransmission in a network. Figure 8 demonstrates the retransmission number of packets when segments are sent over the network to edge server.

3.2. Cuckoo Search Algorithm Based Optimal Edge Server Redirection

In this test, we performed a simulated network based on a virtualized network over Linux. This simulation is configured using python script to generate 100 edge servers, which presents the CDN. In Table 3, the server’s parameters (CPU usage, memory usage, and number of connected users) and network parameters (Throughput and QoS) are given.
Based on the testbed result information provided in Table 3, which includes CPU Usage, Memory Usage, Connected Users, Routes number, Throughput, Delay, Packet Loss, and Jitter, the testbed has been designed to optimize network performance by selecting minimum CPU and memory usage, maximizing network throughput, and reducing network latency and packet loss. The acceptable ranges for performance metrics such as CPU usage, memory usage, delay, packet loss, and jitter may vary depending on the system performance. By reducing CPU and memory usage, the testbed allocates more resources to network processing, which helps to improve the overall network performance. Select maximum network throughput can handle more data traffic and increase the speed at which video data are transmitted across the network. Overall, the goal of this testbed is to select the optimal edge server that provides the best performance for user experience video streaming.
To obtain selected optimal edge server using proposed MCSA, we calculated the efficiency for different edge server’s size, including (10 folds, 20 folds to 100 folds) as shown in Figure 9. A significant reduction of delay time is observed when the redirection algorithm is applied.

4. Results and Discussion

All push-based protocols are designed to deliver video segments to the client proactively, which means that the server sends the segments without waiting for the client to request them. Those protocols minimize the delay between the time the segment is available on the server and the time it is available to the client. All push-based protocols require the server to have knowledge of the client’s buffer state to avoid sending unnecessary segments.
The reason behind the selection of the FASP protocol is that it always uses the maximum throughput to transfer the network packets and makes the network condition stable with a minimum packet loss rate. As a result, no degradation occurs in transferred data bitrates as displayed in Figure 7 and Figure 8.
One advantage of the cuckoo search algorithm is that it does not require any gradient information or assumptions about the distribution of the objective function. This makes it suitable for optimizing complex, non-linear functions in high-dimensional search space. According to test results using MCSA, the average delay time was used to select an optimal edge server among other servers, which is quickly available for users and provides a high-quality video playback streamed video.
The delay time of push-based protocol is equal to 0.00015 s when the proposed algorithm is used for 10 servers while equal to 1.1 s for the conventional algorithm. Moreover, the average delay time for 100 servers is equal to 13 s and 0.296 s with and without MCSA, respectively, as illustrated in Figure 9.

5. Conclusions and Future Outlook

The aim of this research was to improve the performance of Cloud–CDNs for end-users and cloud users who stream video and download multimedia content over the internet. A modified CSA approach was used to select edge servers, ensuring that users could receive faster service by accessing the nearest neighbor server via the shortest path determined using the MCS algorithm. This approach led to a significant increase in network performance. Several protocols were evaluated in terms of speed, security, and scalability, with FASP found to work the fastest while preserving content quality to meet user requests and provide a good QoE. Another advantage of the proposed system is its ability to handle rising requests without server downtime, as the user’s request can select the optimal edge server. The proposed redirection algorithm based on MCSA showed a 25% reduction in the delay time in test results. For future work, the research plan to utilize other heuristic algorithms to optimize edge server selection for various scenarios. Additionally, deep learning techniques may be employed to reduce the delay of transmitted segments and enhance overall Cloud–CDN performance.

Author Contributions

Conceptualization, M.T.; Methodology, M.T. and A.A.; Software, M.T. and A.A.; Validation, M.T. and A.A.; Investigation, M.T.; Data curation, M.T. and A.A.; Writing—original draft, M.T.; Writing—review & editing, A.A.; Visualization, M.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets generated during and/or analyzed during the current study are available from the corresponding author upon reasonable request.

Acknowledgments

This study is a component of the research activities conducted by the University of Sulaimani located in the Kurdistan Region of Iraq. Our sincere appreciation goes to the College of Science at the University of Sulaimani for creating a supportive environment that facilitated the completion of this project. Furthermore, we are grateful to the university’s presidency for their kind and generous financial support that has enabled us to carry out our research.

Conflicts of Interest

The author certifies that there is no actual or potential conflict of interest concerning this article.

References

  1. Wang, Z.; Huang, J.; Rose, S. Evolution and challenges of DNS-based CDNs. Digit. Commun. Netw. 2018, 4, 235–243. [Google Scholar] [CrossRef] [PubMed]
  2. Baccaglini, E.; Grangetto, M.; Quacchio, E.; Zezza, S. A study of an hybrid CDN–P2P system over the PlanetLab network. Signal Process. Image Commun. 2012, 27, 430–437. [Google Scholar] [CrossRef]
  3. He, H.; Feng, Y.; Li, Z.; Zhu, Z.; Zhang, W.; Cheng, A. Dynamic load balancing technology for cloud-oriented CDN. Comput. Sci. Inf. Syst. 2015, 12, 765–786. [Google Scholar] [CrossRef]
  4. Sandvine Report, Sandvine Intelligent Broadband Networks. Available online: https://www.sandvine.com/trends/globalinternetphenomena/ (accessed on 10 January 2023).
  5. Cisco White Paper, Cisco Visual Networking Index: Forecast and Methodology, 2018–2023. Tech. Rep. Cisco. 2023. Available online: http://bit.ly/bwGY7L (accessed on 10 January 2023).
  6. Lin, C.-F.; Leu, M.-C.; Chang, C.-W.; Yuan, S.-M. The Study and Methods for Cloud Based CDN. In Proceedings of the 2011 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery, Beijing, China, 10–12 October 2011; pp. 469–475. [Google Scholar]
  7. Seeliger, R.; Silhavy, D.; Arbanowski, S. Dynamic Ad-Insertion and Content Orchestration Workflows through Manifest Manipulation in HLS and MPEG-DASH. In Proceedings of the 2017 IEEE Conference on Communications and Network Security (CNS), Las Vegas, NV, USA, 9–11 October 2017; pp. 450–455. [Google Scholar]
  8. Taha, M.; Ali, A.; Lloret, J.; Gondim, P.R.L.; Canovas, A. An automated model for the assessment of QoE of adaptive video streaming over wireless networks. Multimed. Tools Appl. 2021, 80, 26833–26854. [Google Scholar] [CrossRef]
  9. Taha, M.; Canovas, A.; Lloret, J.; Ali, A. A QoE adaptive management system for high definition video streaming over wireless networks. Telecommun. Syst. 2021, 77, 63–81. [Google Scholar] [CrossRef]
  10. Anjum, N.; Karamshuk, D.; Shikh-Bahaei, M.; Sastry, N. Survey on peer-assisted content delivery networks. Comput. Netw. 2017, 116, 79–95. [Google Scholar] [CrossRef]
  11. Wan, S.; Ding, S.; Chen, C. Edge computing enabled video segmentation for real-time traffic monitoring in internet of vehicles. Pattern Recognit. 2022, 121, 108146. [Google Scholar] [CrossRef]
  12. Passarella, A. A survey on content-centric technologies for the current Internet: CDN and P2P solutions. Comput. Commun. 2012, 35, 1–32. [Google Scholar] [CrossRef]
  13. Taha, M. A Novel CDN Testbed for Fast Deploying HTTP Adaptive Video Streaming. In Proceedings of the 9th EAI International Conference on Mobile Multimedia Communications, Xi’an, China, 18–20 June 2016; pp. 65–71. [Google Scholar]
  14. Hammershøj, A.; Nowak, A.; Hansen, J.K.B.; Stefanović, Č. Next-Generation OTT Distribution Architecture Supporting Multicast-Assisted ABR (mABR) and HTTP/3 Over QUIC. SMPTE Motion Imaging J. 2022, 131, 31–39. [Google Scholar] [CrossRef]
  15. Hayes, B.; Chang, Y.; Riley, G. Adaptive Bitrate Video Delivery Using HTTP/2 over MPTCP Architecture. In Proceedings of the 2017 13th International Wireless Communications and Mobile Computing Conference (IWCMC), Valencia, Spain, 26–30 June 2017; pp. 68–73. [Google Scholar]
  16. Ghotbou, A.; Khansari, M. Comparing application layer protocols for video transmission in IoT low power lossy networks: An analytic comparison. Wirel. Netw. 2021, 27, 269–283. [Google Scholar] [CrossRef]
  17. Roome, W.; Yang, Y. RFC 8895 Application-Layer Traffic Optimization (ALTO) Incremental Updates Using Server-Sent Events (SSE); Internet Engineering Task Force (IETF): Fremont, CA, USA, 2020. [Google Scholar]
  18. Sitorus, S.P.; Hasibuan, E.R.; Rohani, R. Analysis performance of content delivery network by used Rateless Code method. Sink. J. Dan Penelit. Tek. Inform. 2022, 7, 2348–2359. [Google Scholar] [CrossRef]
  19. Liu, R.; Yuan, X.; Xu, J.; Zeng, Y.; Cao, M.; Liu, J.; Xu, L.; Fang, Q. A novel server selection approach for mobile cloud streaming service. Simul. Model. Pract. Theory 2015, 50, 72–82. [Google Scholar] [CrossRef]
  20. Andjamba, T.S.; Lusilao Zodi, G.-A.L. A Load Balancing Protocol for Improved Video on Demand in SDN-Based Clouds. In Proceedings of the 2023 17th International Conference on Ubiquitous Information Management and Communication (IMCOM), Seoul, Republic of Korea, 3–5 January 2023; pp. 1–6. [Google Scholar]
  21. Wang, Y.; Wang, H. CDN Service Detection Method Based on Machine Learning. In Big Data Management and Analysis for Cyber Physical Systems: Selected Papers of BDET 2022; Springer International Publishing: Cham, Switzerland, 2022; pp. 161–174. [Google Scholar]
  22. Nour, B.; Khelifi, H.; Moungla, H.; Hussain, R.; Guizani, N. A distributed cache placement scheme for large-scale information-centric networking. IEEE Netw. 2020, 34, 126–132. [Google Scholar] [CrossRef]
  23. Farahani, R.; Amirpour, H.; Tashtarian, F.; Bentaleb, A.; Timmerer, C.; Hellwagner, H.; Zimmermann, R. RICHTER: Hybrid P2P-CDN Architecture for Low Latency Live Video Streaming. In Proceedings of the 1st Mile-High Video Conference, Denver, CO, USA, 1–3 March 2022; pp. 87–88. [Google Scholar]
  24. Apostolopoulos, J.G.; Tan, W.-T.; Wee, S.J. Performance of a Multiple Description Streaming Media Content Delivery Network. In Proceedings of the International Conference on Image Processing, Rochester, NY, USA, 22–25 September 2002; Volume 2, p. p. II. [Google Scholar]
  25. Peñaherrera-Pulla, O.S.; Baena, C.; Fortes, S.; Baena, E.; Barco, R. Measuring key quality indicators in cloud gaming: Framework and assessment over wireless networks. Sensors 2021, 21, 1387. [Google Scholar] [CrossRef] [PubMed]
  26. Khansoltani, A.; Jamali, S.; Fotohi, R. A Request Redirection Algorithm in Content Delivery Network: Using PROMETHEE Approach. Wirel. Pers. Commun. 2022, 126, 1145–1175. [Google Scholar] [CrossRef]
  27. Boros, T.; Bencel, R.; Kotuliak, I. Transparent Redirections in Content Delivery Networks. Appl. Sci. 2019, 9, 5418. [Google Scholar] [CrossRef]
  28. Murata, K.T.; Pavarangkoon, P.; Yamamoto, K.; Nagaya, Y.; Mizuhara, T.; Takaki, A.; Muranaga, K.; Kimura, E.; Ikeda, T.; Ikeda, K.; et al. A Quality Measurement Tool for High-Speed Data Transfer in Long Fat Networks. In Proceedings of the 2016 24th International Conference on Software, Telecommunications and Computer Networks (SoftCOM), Split, Croatia, 22–24 September 2016; pp. 1–5. [Google Scholar]
  29. File Catalyst. Available online: https://support.filecatalyst.com/index.php?/Knowledgebase/Article/View/121 (accessed on 18 October 2022).
  30. Signiant. Available online: https://www.signiant.com/technology/signiant-platform/ (accessed on 20 October 2022).
  31. Fister, I., Jr.; Fister, D.; Fister, I. A comprehensive review of cuckoo search: Variants and hybrids. Int. J. Math. Model. Numer. Optim. 2013, 4, 387–409. [Google Scholar]
  32. Yang, Q.; Huang, H.; Zhang, J.; Gao, H.; Liu, P. A collaborative cuckoo search algorithm with modified operation mode. Eng. Appl. Artif. Intell. 2023, 121, 106006. [Google Scholar] [CrossRef]
  33. Yang, Q.; Gao, H.; Dong, N.; Liu, P. An elitist cuckoo search algorithm for combined heat and power economic dispatch. Int. J. Prod. Res. 2023, 1–21. [Google Scholar] [CrossRef]
  34. BigBuckBunny. Available online: https://peach.blender.org/download/ (accessed on 10 November 2022).
  35. MPEG-DASH: Dynamic Adaptive Streaming Over HTTP Explained. Available online: https://www.wowza.com/blog/mpeg-dash-dynamic-adaptive-streaming-over-http (accessed on 10 December 2022).
  36. MPEG-DASH Content Generation with MP4Box Dash and x264. Available online: https://bitmovin.com/mp4box-dash-content-generation-x264/ (accessed on 10 September 2022).
Figure 1. Proposed system components.
Figure 1. Proposed system components.
Applsci 13 05386 g001
Figure 2. Content Push Server protocols.
Figure 2. Content Push Server protocols.
Applsci 13 05386 g002
Figure 3. General flowchart of proposed system.
Figure 3. General flowchart of proposed system.
Applsci 13 05386 g003
Figure 4. Request redirection based on a modified cuckoo search.
Figure 4. Request redirection based on a modified cuckoo search.
Applsci 13 05386 g004
Figure 5. Arrival time vs. packet loss rate (segment size = 5 MB).
Figure 5. Arrival time vs. packet loss rate (segment size = 5 MB).
Applsci 13 05386 g005
Figure 6. Arrival time vs. packet loss rate (segment size = 10 MB).
Figure 6. Arrival time vs. packet loss rate (segment size = 10 MB).
Applsci 13 05386 g006
Figure 7. Throughput vs. video segments of 2 s.
Figure 7. Throughput vs. video segments of 2 s.
Applsci 13 05386 g007
Figure 8. Packet’s retransmission vs transmission time.
Figure 8. Packet’s retransmission vs transmission time.
Applsci 13 05386 g008
Figure 9. Delay time vs. number of edge servers.
Figure 9. Delay time vs. number of edge servers.
Applsci 13 05386 g009
Table 1. Server’s push comparison.
Table 1. Server’s push comparison.
FeatureHTTP/2 Server PushWebSocketsQUICServer-Sent Events (SSE)
Connection TypeUnidirectionalBidirectionalBidirectionalUnidirectional
Connection EstablishmentTCP connectionTCP connectionUDP connectionTCP connection
Data TransferPushed resourcesReal-time updatesReal-time updatesReal-time updates
Multiple ResourcesYesNoYesNo
Browser CompatibilityWidely supportedWidely supportedLimited supportWidely supported
Server CompatibilityRequires HTTP/2 serverRequires server-side WebSocket supportRequires QUIC-enabled serverRequires SSE server support
PerformanceFaster than HTTP/1.1Low latency, low overheadLow latency, reduced round tripsLow overhead, reduced latency
Use CasesStatic resources, application resourcesReal-time applications, gaming, chatStreaming media, real-time applicationsReal-time updates, news feeds, stock tickers
Table 2. Experimental process parameters.
Table 2. Experimental process parameters.
ParameterValue
Video size270 MB
Streaming time60 s
Total number of clips2
Channel usedWi-Fi and Wire Connection
Channel bandwidthShaped to varied Mbps
Packet size1500 bytes (MTU)
Table 3. Proposed Testbed simulation results.
Table 3. Proposed Testbed simulation results.
Edge ServerCPU UsageMemory UsageConnected UsersRoutesNumberThroughputDelayPacket LossJitter
1627243972.6565.559040.203345
28776351921.5837.040322.6157047
39453142932.1311.682780.8825650
46776543923.4659.927420.7340152
58751712992.6360.412382.3412498
68046253962.3058.505341.7710537
77171923960.6266.825223.7686835
8675872921.7701.952821.0805983
98844333943.1565.615451.3142494
108872213952.6720.406811.7904575
117958513945.1635.022671.1969529
125866911952.0191.198560.7944980
138638691933.6771.915423.4175009
145077773901.0644.729872.1251593
155575402911.8861.024113.3074925
166456961995.1240.041530.7678096
178532243952.3561.742541.6210663
186374161950.7382.777671.0086972
196776323902.7190.413800.2929830
208656592965.3860.389231.2865177
217277532982.2937.433020.5658469
22716601923.9236.420110.7887767
238570813923.1784.840030.9049112
249056912920.4967.258450.9695515
256577541983.2109.748321.3263711
266867531932.9362.002070.6449393
276959413925.2419.914504.5584150
285374981922.2255.592210.8731677
299476761953.5477.492730.7943601
307148433935.5439.724440.7880591
314567792974.9834.789680.9317921
32613401993.9512.096892.2209607
33956131921.4719.956642.6814748
345943773971.1855.761762.0959199
359457801954.0978.461270.4377711
365535773983.0502.045650.5642432
377952391960.9406.439751.7110371
387755121994.3458.649232.2476081
39495833901.4590.702971.9571320
408543173954.1829.105343.9156667
4154301003991.5625.859662.2277996
425731383901.3837.798040.6399891
436140573920.1691.419640.621365
449550103944.5218.380240.4518034
455530381981.5364.557613.0727309
465874551945.4327.893170.1484519
477144933915.0909.547363.9396016
485649132925.1140.237580.7929116
498760612994.3027.565593.6293776
507672113931.9944.947341.1073077
519573221901.2474.881042.8503866
528061363942.8395.090080.4079483
535442612985.8289.782372.9530578
545077691961.0239.437312.8074353
556834733893.6064.180952.7206562
565362173913.3044.353641.7564632
575171921962.0485.142304.7477940
585352641905.6037.750860.7668703
599526451945.1130.342480.3609865
607738292971.0001.305310.8615625
618376473890.5661.785530.8100614
629240492944.2821.610132.9607700
635650883930.9184.882691.1687555
644856322951.4607.167250.2467752
655145693891.3823.550642.4037668
665072831914.3481.541390.8550973
676958392915.1634.942592.3305362
686272303951.5660.566834.0479767
695658111902.7400.245560.7166811
709567842930.6432.389842.7502833
718532313973.0643.268980.0149043
729426101923.9957.380772.2560714
736268601972.6952.524091.9707387
745477143894.9098.831996.6727779
759075673943.4467.683780.6288889
766647461950.2559.410120.4337908
777965993990.4027.537760.7917249
78544763941.2879.063393.3683369
79877702923.8340.018973.9577402
808237183972.7465.048306.4923354
81487042985.8775.546974.4193902
829453691940.7122.995904.8421968
837965661904.7591.925781.2787296
845838913922.0359.334610.4830292
858759602981.0000.322711.4024168
866146461942.9337.254890.6195066
877433251932.1969.275903.0574970
888562292972.4857.249061.1583382
896950131994.4689.648360.9202245
906224252993.9975.411732.7490257
917776882902.2290.989571.2524622
927664651985.0113.171720.3187478
938527323904.6395.053820.1886412
946573292942.7550.579194.6637723
957645112890.7914.638341.4766862
966851483900.0002.354390.0833337
977746713922.8396.591142.2687105
988935871891.7356.576693.1555948
996349871952.1064.251383.0403892
1005351372894.5728.056492.2761992
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Taha, M.; Ali, A. Redirection and Protocol Mechanisms in Content Delivery Network-Edge Servers for Adaptive Video Streaming. Appl. Sci. 2023, 13, 5386. https://doi.org/10.3390/app13095386

AMA Style

Taha M, Ali A. Redirection and Protocol Mechanisms in Content Delivery Network-Edge Servers for Adaptive Video Streaming. Applied Sciences. 2023; 13(9):5386. https://doi.org/10.3390/app13095386

Chicago/Turabian Style

Taha, Miran, and Aree Ali. 2023. "Redirection and Protocol Mechanisms in Content Delivery Network-Edge Servers for Adaptive Video Streaming" Applied Sciences 13, no. 9: 5386. https://doi.org/10.3390/app13095386

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop