~/talk

How HTTP/2 works, and how Android developers can leverage it

Talkat droidcon San Francisco 2018 · 2018-11-19..11-20· [web-platform, android]
name:Aman Alam
links:none on file
name:Arjan Ali
links:none on file

HTTP/2 (finalized 2015) replaces text framing with binary frames, adds header compression and stream priorities, and multiplexes many requests over one TCP connection; Android apps get it via OkHttp 3.9+ (URLConnection lacks support) and ALPN (Jetty ALPN or Google Play Services) on Lollipop+. A demo loads 380 tiled images showing HTTP/1 at 3.29 seconds and HTTP/2 cutting that time by over half; gains collapse when packet loss >2%. Future migration is HTTP/3/QUIC (Cronet available).

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 0:50Why HTTP/2 matters now
  3. 2:37HTTP/2 key benefits explained
  4. 5:08Head-of-line blocking and TCP
  5. 7:57Multiplexing and stream dependencies
  6. 9:42Binary protocol and header compression
  7. 12:12Server push and caching
  8. 13:59HTTP/2 limitations and HTTP/3
  9. 15:43Backend server setup for HTTP/2
  10. 18:32Android HTTP/2 with OkHttp
  11. 20:36Workarounds for older Android versions
  12. 23:23Live demo of HTTP/2 performance
  13. 25:22Future of HTTP and closing remarks
  14. 26:26Q&A and resources
~/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.