update
play

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


  1. update FOSDEM, Brussels, January 30 th 2016

  2. HTTP/2 basics Status Deploy Future

  3. Daniel Stenberg network hacker at Email: daniel@haxx.se Twitter: @bagder Web: daniel.haxx.se Blog: daniel.haxx.se/blog

  4. about the protocol about the protocol

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

  6. Speed of light reminder The world is still big + slower through fjber + never the shortest distance + bufger (bloat) + radio networks = Several hundred milliseconds

  7. HTTP/2 Multiplexed streams Compressed headers Server push Maintains HTTP paradigms

  8. Multiplexed and compressed HTTP/1.1 HTTP/2 Req 1 Req 1 Req 2 Req 3 Req 4 Resp 1 Resp 2 Resp 1 Resp 3 Resp 4 Req 2 ● no gaps ● more requests Resp 2 ● earlier responses

  9. Many TCP vs one HTTP/1.1 HTTP/2

  10. Server push HTTP/2 Req 1 Req 2 Req 3 Req 4 Resp 1 Push 1 Push 2 Resp 2 Resp 3 Resp 4

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

  12. status status

  13. browsers

  14. servers

  15. HTTP/2 – January 2016 Browsers are HTTPS-only Firefox: 17% HTTP/2 30% of HTTPS HTTP/2 in 70% of browsers

  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

  17. deploy deploy

  18. Poking at it Apache, NGINX, H2O, ATS, Caddy, Litespeed nghttp2 curl wireshark SPDY Indicator h2i

  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

  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!

  21. the HTTP future the HTTP future

  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

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

  24. Thank you! Doing good is part of our code

Recommend


More recommend