Upgrade to Pro — share decks privately, control downloads, hide ads and more …

HTTP/2: Because The Web Was Too Easy

Cory Benfield
September 19, 2014

HTTP/2: Because The Web Was Too Easy

The internet has spoken, HTTP is to get its first serious update in 15 years. In this talk we'll discuss what HTTP/2 is, why it's happening, and how it's going to affect you and everyone you love. We'll briefly talk about how you can get started with HTTP/2, and some interesting projects associated with it, including Hyper, the first Python HTTP/2 library.

Cory Benfield

September 19, 2014
Tweet

More Decks by Cory Benfield

Other Decks in Programming

Transcript

  1. Hi

  2. HTTP is Everywhere • The web is HTTP. • Many

    of you work with the web. • Your jobs depend on HTTP.
  3. New Protocol! • From the IETF • HTTPBis WG starts

    discussion in 2012 • Based on SPDY
  4. Binary • Text protocols are easy to debug but complex

    to parse • Binary is simpler. • Simpler (usually) means faster
  5. Efficient • Multiplexing (with priority and flow control) • Header

    compression (HPACK) • Early stream termination. • Server Push
  6. HTTP/2 is Imperfect • Difficult to reason about • Challenging

    to debug • Awkward edge cases • Inherently concurrent
  7. Implementations • hyper (Python, client) • nghttp2 (C, client and

    server) • Firefox (Browser) • curl/libcurl (client)