Back to results

Massachusetts Institute of Technology

Evaluating HTTP/1.1 and HTTP/2 performance with dependency graph properties

Abstract

dc:description.abstract

This thesis presents an evaluation of web performance under HTTP/1.1 and HTTP/2. It takes a novel approach to compare the two protocols and understand the performance differences between them. It analyzes each protocol's web performance with respect to its web page dependency graph, identifying key graph properties and the relationships between those properties and the resultant performance changes. To do this, we present Pagescope, a tool that visualizes the relationship between web page properties and the improvement provided. It first records a corpus of web pages by emulating a web client. It then retrieves data from the resulting network requests and responses. It processes the data to create a dependency graph and extracts properties used in classifying these web pages. We identify the number, size and cacheability of resources, the number of distinct origins, the number of redirects, the distribution of resource priorities, the depth and breadth of the page dependency graph, the number of connections per origin, and the number of HTTPS clusters, as classification properties. These pages are then loaded under various network configurations, and the load times recorded. The page properties and load times are stored in a database. We find trends between the classifications and page load times. As with some previous studies, we find that HTTP/2 without server push does not consistently outperform HTTP/1.1 [35, 9, 7]. Instead of explaining the results through network condition variations, we control that aspect and explain performance differences through variations in web page dependency graph properties. We see that there are optimal per property ranges with which a page best renders the benefits of HTTP/2. Contradictory to the naive hypothesis, HTTP/2 performance deteriorates with above average numbers of resources. Related properties - the number of resources, the number of origins, and the maximum breadth follow the same trends. As the number of HTTPS clusters on a page increases, HTTP/2 performance is overtaken by HTTP/1.1. Web pages with an above average number of resources and HTTPS clusters tend to be unnecessarily complex. These results suggest that HTTP/2 has an overhead which is only negated by well-designed pages that can utilize the new features. Guidelines for such pages can be found on PageSpeed Insights [24].

Degree

thesis:*
Department dc:contributor.department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science.
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hsu, Eeway Erika
Advisor dc:contributor.advisor
  • Hari Balakrishnan.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission.
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1721.1/119526
OAI identifier oai:identifier
oai:dspace.mit.edu:1721.1/119526

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Hsu, Eeway Erika. Evaluating HTTP/1.1 and HTTP/2 performance with dependency graph properties. Massachusetts Institute of Technology, 2017. http://hdl.handle.net/1721.1/119526