arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.05554cs.NI
收藏

Web是否已准备好进行HTTP/2服务器推送?

Is the Web ready for HTTP/2 Server Push?

Torsten Zimmermann, Benedikt Wolters, Oliver Hohlfeld, Klaus Wehrle

摘要:

HTTP/2取代了HTTP/1.1,以解决现代Web的性能挑战。一个备受期待的功能是服务器推送,使服务器能够在没有显式客户端请求的情况下发送数据,从而可能节省时间。尽管出现了关于如何使用服务器推送的指导方针,但测量表明,它很容易以次优的方式使用,并且损害而不是提高性能。因此,我们解决的问题,如果目前的Web可以更好地利用服务器推送。首先,我们使现实世界的网站在测试床中重播,以研究不同的服务器推送策略的效果。利用这一点,我们接下来重新审视建议的指导方针,以掌握它们的性能影响。最后,根据我们的研究结果,我们提出了一种新的策略,使用替代服务器调度,使交错资源。这改进了某些网站的可视进度,并对部署进行了微小的修改。尽管如此,我们的研究结果突出了服务器推送的局限性:需要对Web工程有深刻的理解才能最佳地利用它,并且不是每个网站都能受益。

英文摘要:

HTTP/2 supersedes HTTP/1.1 to tackle the performance challenges of the modern Web. A highly anticipated feature is Server Push, enabling servers to send data without explicit client requests, thus potentially saving time. Although guidelines on how to use Server Push emerged, measurements have shown that it can easily be used in a suboptimal way and hurt instead of improving performance. We thus tackle the question if the current Web can make better use of Server Push. First, we enable real-world websites to be replayed in a testbed to study the effects of different Server Push strategies. Using this, we next revisit proposed guidelines to grasp their performance impact. Finally, based on our results, we propose a novel strategy using an alternative server scheduler that enables to interleave resources. This improves the visual progress for some websites, with minor modifications to the deployment. Still, our results highlight the limits of Server Push: a deep understanding of web engineering is required to make optimal use of it, and not every site will benefit.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑