11. HTTP/1.x Prioritization
⢠6 Connections per origin
⢠Pick next-highest for each origin as a connection becomes available
12. HTTP/2 Prioritization
â˘All requests sent to server immediately
â˘Priorities specified in dependency tree
â˘Any âstreamâ can depend on another stream
â˘Peers can be weighted
â˘Priority changes communicated with a PRIORITY
frame
34. Performance Monitoring
⢠Understand what (if any) traffic-shaping is
used
⢠Watch out for (avoid):
â˘Dev Tools
â˘Lighthouse
â˘Puppeteer
â˘Proxy
40. What to do?
⢠Set reasonable default TCP send buffer sizes
⢠Enable TCP_NOTSENT_LOWAT
⢠Enable BBR
⢠Use a Web Server with good prioritization support
43. HTTP/3 Prioritization?
⢠Prioritization is an extension, not part of the core spec
⢠HTTP header-based
⢠Priority Level + concurrency
⢠Server override (response header)
⢠Join the discussion
⢠https://httpwg.org/
44. HTTP/3 (and QUIC)
⢠UDP-based (port 443)
⢠Moves TCP logic into application layer
⢠Less OS-level failure modes
⢠More application responsibility
⢠Moves loss recovery from per-connection to per-stream
⢠Will NEVER reach 100% availability
⢠Treat it as a progressive enhancement