Is ¡the ¡Web ¡HTTP/2 ¡yet? ¡
Jeremy ¡Blackburn ¡and ¡Ma<eo ¡Varvello ¡
- K. ¡Schomp, ¡D. ¡Naylor, ¡A. ¡Finamore, ¡K. ¡Papagiannaki ¡
Is the Web HTTP/2 yet? Jeremy Blackburn and Ma<eo - - PowerPoint PPT Presentation
Is the Web HTTP/2 yet? Jeremy Blackburn and Ma<eo Varvello K. Schomp, D. Naylor, A. Finamore, K. Papagiannaki Outline HTTP History
1965 ¡
1965 ¡
1965 ¡
– HTTPS ¡through ¡HTTP ¡proxy ¡
– MulMple ¡request ¡over ¡a ¡single ¡(TCP) ¡connecMon ¡ ¡
– Range ¡requests ¡ – Hop-‑by-‑hop ¡headers ¡
– Ease ¡deployment ¡of ¡future ¡protocols ¡
1965 ¡ 2000 ¡
1965 ¡ 2000 ¡
Number of Domains
Breakdown by Protocol Version (Announced Support)
Click and drag in the plot area to zoom in H2 Draft 14
Jan '15 Jan '16 May '15 Sep '15 0k 20k 40k 60k 80k
Highcharts.com
2014-‑2015 ¡
1965 ¡ 2000 ¡
Number of Domains
Breakdown by Protocol Version (Announced Support)
Click and drag in the plot area to zoom in H2 Draft 14 H2 Draft 15 H2 Draft 16 H2 Draft 17
Jan '15 Jan '16 May '15 Sep '15 0k 20k 40k 60k 80k
Highcharts.com
2014-‑2015 ¡
1965 ¡ 2000 ¡
Number of Domains
Breakdown by Protocol Version (Announced Support)
Click and drag in the plot area to zoom in H2 Draft 14 H2 Draft 15 H2 Draft 16 H2 Draft 17 H2
Jan '15 Jan '16 May '15 Sep '15 0k 50k 100k 150k 200k
Highcharts.com
2014-‑2015 ¡
No ¡significant ¡ change ¡over ¡ Mme ¡
No ¡significant ¡ change ¡over ¡ Mme ¡
More ¡complex ¡ websites ¡adopt ¡ H2 ¡over ¡Mme ¡
On ¡average, ¡H2 ¡ requires ¡half ¡as ¡ many ¡TCP ¡ connec:ons ¡as ¡H1 ¡
Few ¡sites ¡can ¡be ¡ served ¡via ¡a ¡ single ¡TCP ¡ connec:on ¡ ¡
On ¡average, ¡H2 ¡ requires ¡half ¡as ¡ many ¡TCP ¡ connecMons ¡as ¡H1 ¡
As ¡high ¡as ¡100 ¡ TCP ¡connec:ons ¡
On ¡average, ¡H2 ¡ requires ¡half ¡as ¡ many ¡TCP ¡ connecMons ¡as ¡H1 ¡
Few ¡sites ¡can ¡be ¡ served ¡via ¡a ¡ single ¡TCP ¡ connecMon ¡ ¡
20-‑40% ¡of ¡sites ¡ with ¡>= ¡80% ¡of ¡H2 ¡
via ¡a ¡single ¡TCP ¡ connec:on ¡
25% ¡of ¡the ¡ websites ¡“suffer” ¡ due ¡to ¡h2 ¡
25% ¡of ¡the ¡ websites ¡“suffer” ¡ due ¡to ¡h2 ¡
More ¡benefits ¡on ¡ more ¡challenging ¡ network ¡access ¡ (3G) ¡ ¡
More ¡benefits ¡as ¡ loss ¡rate ¡increases ¡ and ¡available ¡bdw ¡ decreases ¡
– The ¡“DOMContentLoaded” ¡event ¡
– “onload” ¡
– Browser ¡will ¡make ¡a ¡network ¡request ¡
– The ¡browser ¡got ¡some ¡data ¡from ¡the ¡network ¡
– A ¡full ¡HTTP ¡response ¡is ¡available ¡
– HTTP ¡request ¡has ¡finished ¡loading ¡(whatever ¡that ¡means) ¡
– A ¡network ¡request ¡failed ¡to ¡load ¡
– NOT ¡a ¡UNIX ¡Mmestamp ¡ – Appears ¡to ¡be ¡“number ¡of ¡seconds ¡since ¡00:00:00 ¡today” ¡ – We ¡discovered ¡an ¡undocumented ¡field ¡that ¡appears ¡in ¡one ¡ message ¡that ¡gives ¡us ¡a ¡UNIX ¡Mmestamp ¡(very ¡weird) ¡
– Oh ¡wait, ¡it ¡is ¡exposed ¡via ¡parMally ¡documented ¡field… ¡
– This ¡one ¡took ¡awhile ¡to ¡figure ¡out… ¡ – SoluMon: ¡add ¡a ¡bit ¡of ¡a ¡delay ¡aeer ¡onload ¡to ¡keep ¡capturing ¡ – Ugly, ¡but ¡best ¡we ¡have ¡right ¡now. ¡
30 60 90 120 a b
A or B count protocol
h1 h2
¡
30 60 90 H1 H2 No Difference
Which is faster? count
0.00 0.25 0.50 0.75 1.00 110.753 1119.99 212.565 2719.19 2971.29 333.039 4125.29 436.877 624.916 767.361 954.173
% "Correct"
Check ¡out ¡“Is ¡The ¡Web ¡ HTTP/2 ¡Yet?” ¡from ¡ PAM ¡2016 ¡and ¡ isthewebh<p2yet.com ¡ Check ¡out ¡ eyeorg.net ¡and ¡ take ¡a ¡test! ¡