update FOSDEM, Brussels, January 30 th 2016 HTTP/2 basics Status - - PowerPoint PPT Presentation

update
SMART_READER_LITE
LIVE PREVIEW

update FOSDEM, Brussels, January 30 th 2016 HTTP/2 basics Status - - PowerPoint PPT Presentation

update FOSDEM, Brussels, January 30 th 2016 HTTP/2 basics Status Deploy Future Daniel Stenberg network hacker at Email: daniel@haxx.se Twitter: @bagder Web: daniel.haxx.se Blog: daniel.haxx.se/blog about the protocol about the


slide-1
SLIDE 1

FOSDEM, Brussels, January 30th 2016

update

slide-2
SLIDE 2

HTTP/2 basics Status Deploy Future

slide-3
SLIDE 3

Email: daniel@haxx.se Twitter: @bagder Web: daniel.haxx.se Blog: daniel.haxx.se/blog

network hacker at

Daniel Stenberg

slide-4
SLIDE 4

about the protocol about the protocol

slide-5
SLIDE 5

Why HTTP/2

HTTP/1 ping-pong … makes it latency sensitive TCP connection fatigue HTTP Pipelining failed Deliver more data earlier!

slide-6
SLIDE 6

Speed of light reminder

The world is still big + slower through fjber + never the shortest distance + bufger (bloat) + radio networks = Several hundred milliseconds

slide-7
SLIDE 7

HTTP/2

Multiplexed streams Compressed headers Server push Maintains HTTP paradigms

slide-8
SLIDE 8

Resp 3

Multiplexed and compressed

HTTP/1.1

Req 1 Resp 1 Req 2 Resp 2 Req 1 Req 2 Req 3 Req 4 Resp 1 Resp 2 Resp 4

HTTP/2

  • no gaps
  • more requests
  • earlier responses
slide-9
SLIDE 9

Many TCP vs one

HTTP/1.1 HTTP/2

slide-10
SLIDE 10

Resp 3

Server push

Req 1 Req 2 Req 3 Req 4 Resp 1 Resp 2 Resp 4

HTTP/2

Push 1 Push 2

slide-11
SLIDE 11

HTTP paradigms stay

Header and body HTTP:// and HTTPS:// Most client-side apps won't notice Most server-side apps won't notice

slide-12
SLIDE 12

status status

slide-13
SLIDE 13

browsers

slide-14
SLIDE 14

servers

slide-15
SLIDE 15

HTTP/2 – January 2016

Browsers are HTTPS-only Firefox: 17% HTTP/2 30% of HTTPS HTTP/2 in 70% of browsers

slide-16
SLIDE 16

HTTP/2 for content – January 2016

51% of HTTPS contents over HTTP/2 29% of SSL sites within top-1000 use SPDY or HTTP/2 Googlebot groks HTTP/2 early 2016

slide-17
SLIDE 17

deploy deploy

slide-18
SLIDE 18

Poking at it

SPDY Indicator Apache, NGINX, H2O, ATS, Caddy, Litespeed nghttp2 curl wireshark h2i

slide-19
SLIDE 19

Challenges for you

h2 is straight-forward, but ... HTTPS! OpenSSL / other TLS-lib versions and ALPN Mixed content / ads Certs and Let's Encrypt

slide-20
SLIDE 20

HTTP/2 – what to expect for your site

It depends 20% - 60% faster is common Server push makes a difgerence Priorities is key Remember: HTTPS Shorten dependency chains!

slide-21
SLIDE 21

the HTTP future the HTTP future

slide-22
SLIDE 22

Improving what we have

h2 server push improvements h2 extensions have not taken ofg h2 client certs? (slightly) improved cookies Guide to TCP when writing HTTP More HTTPS, blind caches? Better h2 tools, more h2 comparisons

slide-23
SLIDE 23

Beyond HTTP/2

Time to drop HTTP/1 legacies HTTP/3 will happen faster QUIC and the OSI model crash

slide-24
SLIDE 24

Doing good is part of our code

Thank you!