大象传媒

Scalable media delivery on the Web with HTTP Server Push

White Paper WHP 336

Published: 20 April 2018

Abstract

Version 2 of the Hypertext Transfer Protocol (HTTP/2), published in 2015, introduced a Server Push protocol primitive, offering the possibility of improving user-perceived web page performance through the unsolicited delivery of additional dependent resources by a web server in response to an initial request from a client. Analysis of deployments in the wild has shown actual performance gains to vary greatly, and even reduced performance in some cases.

This paper explores Server Push from the perspective of Web Application logic implemented using JavaScript and the Web Platform. Current web browsers hold pushed resources in a so-called 鈥淧ush Cache鈥, where they exist in effective purgatory until explicitly requested. Server Push is, in essence, hidden from the Web Application.

We contend that the failure to expose Server Push events to the Web Application layer has impeded the realisation of promised performance improvements. Furthermore, hiding Server Push restricts a new set of use cases that would benefit from a reactive approach to web-oriented HTTP delivery of resources, in particular, unidirectional flows such as long-lived bulk data delivery and low-latency delivery.

In this paper we describe a candidate Server Push API design that could be used to address reactive use cases. We describe a prototype that combines Server Push and Service Worker to power a novel MPEG-DASH video streaming Web Application, with media content delivered using 大象传媒 R&D鈥檚 experimental IP multicast profile of HTTP over QUIC. The goals of this are scalability, applicability to web-based clients, reduced operational costs, and commonality and seamless transition between unicast and multicast delivery modes. We show that the design achieves these goals and is generally applicable to a variety of long-lived unidirectional HTTP flows.

White Paper copyright

漏 大象传媒. All rights reserved. Except as provided below, no part of a White Paper may be reproduced in any material form (including photocopying or storing it in any medium by electronic means) without the prior written permission of 大象传媒 Research except in accordance with the provisions of the (UK) Copyright, Designs and Patents Act 1988.

The 大象传媒 grants permission to individuals and organisations to make copies of any White Paper as a complete document (including the copyright notice) for their own internal use. No copies may be published, distributed or made available to third parties whether by paper, electronic or other means without the 大象传媒's prior written permission.

Authors

  • Lucas Pardue

    R&D Engineer

Search by Tag:

Rebuild Page

The page will automatically reload. You may need to reload again if the build takes longer than expected.

Useful links

Theme toggler

Select a theme and theme mode and click "Load theme" to load in your theme combination.

Theme:
Theme Mode: