~/talk

HTTP2, one frame at a time

Talkat JSConf AU 2018 · on Tuesday, 2018-04-10· [nodejs, web-platform]
slides:none on file

Shows Node's HTTP/2 internals: libuv and TLS termination hand off bytes to the C++ parser dingy http/2, frames multiplex onto streams with credit‑based flow control and priority weights, and header compression uses Huffman coding. Demonstrates using TLS keygen to run a secure localhost server and a live server push that sends bundle.css (background turns hot pink) so the push completes and the pushed resource arrives without an extra request. Experimental flag noted.

AI-written summary · about

  1. 0:00Start
  2. 1:12HTTP/2, one frame at a time
  3. 2:05The focus of the protocol is on performance; specifically, end-user perceived latency, network and server resource usage.
  4. 8:38ALPN Negotiations
  5. 8:57server to confirm upgrade
  6. 9:09Connection acknowledgement
  7. 11:39header block gets converted into an octet block (Huffman encoded)
  8. 13:21multiple streams exist per single connection.
  9. 14:09connection, endpoints want to prioritize resource allocation
  10. 15:53Multiplexing streams can cause congestion in a TCP Connection
  11. 17:23flow-control allows for the receiver to communicate how much load it can handle
  12. 17:57establishing a connection in node.js
  13. 20:07server push allows the server to preemptively send data to the client before
  14. 25:04flow control and better use of TCP connections bring performance gains.
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.