31
So that was HTTP/2, what's next? February 4 2017

So that was HTTP/2, what's next?

Embed Size (px)

Citation preview

Page 1: So that was HTTP/2, what's next?

So that was

HTTP/2, what's next?

February 4 2017

Page 2: So that was HTTP/2, what's next?

Questions?

I’ll hang around I’ll hang around outside the outside the

room afterwardroom afterward

Page 3: So that was HTTP/2, what's next?

Daniel Stenberg@bagder

Page 4: So that was HTTP/2, what's next?

Request and payload growth

in the last 5 years ...

8080

100100

800K800K

2.5M2.5M

the average website loads 50+ resources on a single domain

Page 5: So that was HTTP/2, what's next?

Head of line blockingHead of line blocking

Page 6: So that was HTTP/2, what's next?
Page 7: So that was HTTP/2, what's next?

Multiplexed (1/2)

Multiple streams over a single physical connection

Max number of parallel streams set by peer

Page 8: So that was HTTP/2, what's next?

Multiplexed (2/2)

Page 9: So that was HTTP/2, what's next?

Better utilization of bandwidth

Page 10: So that was HTTP/2, what's next?

So that was HTTP/2 February 4, 2017

Adoption, usage, support

Page 11: So that was HTTP/2, what's next?

servers

Page 12: So that was HTTP/2, what's next?

browsers

Page 13: So that was HTTP/2, what's next?

Browser stats – Feb 2017

HTTP/2:

Share of HTTPS:

30%30%

60%60%

Page 14: So that was HTTP/2, what's next?

Internetz – February 2017

12% of top 10 million

23% of top 10,000

26% of top 1000

>50% for your site

Page 15: So that was HTTP/2, what's next?

Winners and losers

So that was HTTP/2 February 4, 2017

Page 16: So that was HTTP/2, what's next?

Did HTTP/2 meet its promises

Page 17: So that was HTTP/2, what's next?

The remote corners of Internet

Percentile Desktop Mobile

5 1 11

25 20 44

50 79 94

75 194 184

95 800 913

Milliseconds RTT

Page 18: So that was HTTP/2, what's next?

Queuing time h1 vs h2(Time waiting internally to send off a HTTP request)

Percentile HTTP 1 HTTP 2

80 100 ms 2 ms

95 2000 ms 16 ms

>100ms: H1 20%, H2 3%

Page 19: So that was HTTP/2, what's next?

0% packet loss

Image and data by Hooman Beheshti, Fastly

Page 20: So that was HTTP/2, what's next?

2% packet loss

Image and data by Hooman Beheshti, Fastly

Page 21: So that was HTTP/2, what's next?

Packet loss, hey?

Single connection vs 6

Head of line blocking

A single dropped packet blocks everything

Page 22: So that was HTTP/2, what's next?

Packet loss, hey?

TLS TLS TLS

HTTP/2 frame

HTTP/2 frame

HTTP/2 frame

HTTP/2 frame

HTTP/2 frame

IP IP IP IP IP IPTCP TCP TCP TCP

Page 23: So that was HTTP/2, what's next?

Packet loss, hey?

IP

HTTP/2 frame

HTTP/2 frame

HTTP/2 frame

HTTP/2 frame

HTTP/2 frame

TCP TCP TCP TCPTLS TLS TLS

IP IP IP IP IP IP

Page 24: So that was HTTP/2, what's next?

Fixing TCP head of blocking

Page 25: So that was HTTP/2, what's next?

A non-blocking TCP + TLS + HTTP/2

Needs independent packets

… that still are stream aware

Needs new retransmissions/ACKs

New protocol?

Fixing TCP takes decades –if even doable

Page 26: So that was HTTP/2, what's next?

QUIC

“TCP”, TLS and HTTP/2 over UDP

no TCP head of line blocking

other congestion control

move across interfaces

“TCP improvements” - much faster

Google has this widely deployed already

UDP not as problematic as we thought

Page 27: So that was HTTP/2, what's next?

Packet loss, hey?

IPUDP UDP UDP UDP UDP UDPquic quic quic quic quic quicTLS TLS TLS TLS TLS TLSh2 h2 h2 h2 h2 h2

IP IP IP IP IP IP

Page 28: So that was HTTP/2, what's next?

The IETF QUIC wg

Just started

Massive interest

s/custom crypto/TLS 1.3

Will transfer more than HTTP/2 frames

First interim meeting in Tokyo in Jan ‘17

IETF-QUIC vs Google-QUIC

Maybe early live test around mid-2017

That means That means maybemaybe and and earlyearly tests tests

Page 29: So that was HTTP/2, what's next?

Neither 3 nor 2

Perhaps “HTTP/3”, but not in name

Perhaps “TCP/2”, but not in name

Just QUIC

Page 30: So that was HTTP/2, what's next?

Round-up

HTTP/1 is not optimal

HTTP/2 is binary and multipled

HTTP/2 is widely used

HTTP/2 makes sites faster

(IETF-)QUIC is coming

QUIC is HTTP/2 frames over UDP

Page 31: So that was HTTP/2, what's next?

Thank you!

Questions outside!