Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 2022 queries #2939

Merged
merged 13 commits into from
Aug 4, 2022
Merged

HTTP 2022 queries #2939

merged 13 commits into from
Aug 4, 2022

Conversation

paivaspol
Copy link
Contributor

@paivaspol paivaspol commented May 22, 2022

This PR tracks the query progress for #2903 . All metrics will be computed in both absolute and relative (i.e., percentage) terms. They should also include breakdown by desktop and mobile.

Adoption

Compare between 2021 and 2022:

  • (2022) % of websites using HTTP/2+ vs HTTP/1.1
  • (2022) Distribution of number and % of resources on HTTP/2 vs HTTP/1.1 broken down by whether the resource was requested via CDN.
  • (2022) Distribution of number and % of resources on HTTP/2 vs HTTP/1.1
  • (2021) % of websites using HTTP/2+ vs HTTP/1.1
  • (2021) Distribution of number and % of resources on HTTP/2 vs HTTP/1.1
  • (2021) Distribution of number and % of resources on HTTP/2 vs HTTP/1.1 broken down by whether the resource was requested via CDN.

Benefits from HTTP/2

Connections

  • Median number of connections per page load.
  • Average number of connections per page load.
  • Distribution of connections across websites.

Prioritization

  • Number of sites using priority hints. Custom metrics already implemented.
  • Distribution of number of resources with priority hints.
  • Not querying as most websites have not adopted priority hints. Breakdown of priority hint levels per page. For example, CDF across websites of the number of resources with priority hints broken down in two lines: high and low. We should only execute this only if there is enough data for this analysis to make sense.-

Push

  • Number of pushed resources
  • Number of Link rel="preload" in HTTP response headers--signal for push for CDNs and proxies.
  • Number of sites using Early Hints. Sites with 103 responses.

HTTP/3

  • Breakdown of server side supported versions of protocols. Distribution and median value.

@paivaspol paivaspol self-assigned this May 22, 2022
@paivaspol paivaspol added this to the 2022 Analysis milestone May 22, 2022
@paivaspol paivaspol added the analysis Querying the dataset label May 22, 2022
@paivaspol paivaspol marked this pull request as draft May 22, 2022 20:42
@rviscomi
Copy link
Member

rviscomi commented Aug 3, 2022

Thanks @paivaspol! Based on your comment in the chapter issue, can I mark this PR as ready for review?

Also you mentioned having one remaining query to write, but it looks like there are several unchecked boxes. Is the checklist up to date or are those queries already written?

@paivaspol
Copy link
Contributor Author

@rviscomi We can start the review. I follow up with adding queries for the ones without check marks by mid next week.

As for the HTTP/2 adoption in 2021 for comparison with 2022, I plan to refer to the values from last year's spreadsheet, so we may not have to create new queries for them. However, if you would like me to include queries for them, please let me know. Happy to include queries for those.

@rviscomi rviscomi marked this pull request as ready for review August 4, 2022 04:18
@tunetheweb
Copy link
Member

The queries look good to me so far so happy for you to run this. Shall we merge these and add more later in a new PR to make it easier to see what's changed?

@rviscomi rviscomi merged commit 3f6ac43 into main Aug 4, 2022
@rviscomi rviscomi deleted the http-2022-sql branch August 4, 2022 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analysis Querying the dataset
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants