论文标题
对HTTP/2的服务器推动性能潜力的研究
A study of HTTP/2's Server Push Performance Potential
论文作者
论文摘要
现代网页具有复杂的结构,包括多达数百种不同资源,例如脚本和图像。服务器推动是HTTP/2功能,使服务器能够在他们意识到需要渲染页面之前先抢先向客户发送资源。目的是减少浏览器必须等待数据传输的时间,从而将数据总负载时间。我们在这项工作中的目标是量化多少服务器推送可以实际减少网页加载时间。我们从理论和实验观点都解决了问题。首先,我们为服务器推动提供的负载时间缩短而得出上限。然后,我们将实际评估Alexa前100个全球站点上的理想推动实现,以非PUSH HTTP/2基线。我们的结果表明,延迟与服务器推送的好处之间存在线性关系。此外,依赖树高的页面往往会从中受益最大。
Modern web pages have complex structures comprised of up to hundreds of different resources, such as scripts and images. Server push is an HTTP/2 feature enabling servers to preemptively send resources to clients before they realize they need them to render a page. The objective is to reduce the amount of time the browser has to wait for data to be transferred, and consequently total page load time. Our goal in this work is to quantify how much server push can actually reduce web page load times. We approach the problem from both theoretical and experimental perspectives. We start by deriving an upper bound for the load time reduction afforded by server push. Then we proceed to actually evaluate an idealized push implementation on the Alexa Top 100 global sites, against a non-push HTTP/2 baseline. Our results show a linear relationship between latency and the benefit of server push. Moreover, pages with taller dependency trees tend to benefit the most from it.