Frontiers of Data and Computing ›› 2020, Vol. 2 ›› Issue (3): 75-86.doi: 10.11871/jfdc.issn.2096-742X.2020.03.007

• Special Issue: Next Generation Internet Technology & Application • Previous Articles     Next Articles

A Solution for HTTP In-Network Caching Based on P4

Zhan Yuchen(),Feng Weiwei(),Tan Xiaobin()   

  1. Department of Automation, School of Information Science and Technology, University of Science and Technology of China,Hefei, Anhui 230022, China
  • Received:2020-04-10 Online:2020-06-20 Published:2020-08-19
  • Contact: Zhan Yuchen;;


[Objective] HTTP is the most used protocol in network traffic these days, and the use of HTTP is still growing rapidly. However, the normal transmission of HTTP requires the underlying TCP/IP protocol stack, which limits its ability to solve problems in the current Internet. The response speed of a web page is critical to users’ experience when they browse the web pages. This paper aims to give a solution to improve the response speed of web browsing. [Methods] In this paper, we propose a solution to implement in-network cache in HTTP protocol using the idea of ICN (Information Centric Network) protocol and the P4 (Programming Protocol-Independent Packet Processors) language and conduct evaluation of the proposed solution. Firstly, we propose a packet conversion mechanism for converting a custom packet into a special packet and converting it back. Secondly, we adopt P4 language to implement the ICN transmission in the forwarding router. [Results] In order to verify the functionality of our design, we set up a network topology among multiple virtual machines and verify the network performance improvements when using the ICN protocol in HTTP transports. Evaluation results show our solution that enables P4 switches to cache HTTP content responses can aggregate the same requests and improve network performance. [Conclusions] Therefore, the solution we proposed in this paper is effective for users in web page browsings.

Key words: HTTP, information centric network, P4 language, in-network cache