~/talk

HTTP in a Hostile World

Talkat droidcon Toronto 2019 · on Wednesday, 2019-11-13· [networking, security]
links:none on file
slides:none on file

Explains concrete HTTP fixes: generate a 128‑bit UUID token per action and persist it with a unique DB index to enforce idempotence; record real traffic with Charles and test against Square’s MockWebServer; make assets immutable by versioned URLs and a year‑long cache (max‑age=31536000); use TLS everywhere and limit trust with certificate pinning; adopt OkHttp/Retrofit or gRPC, move heavy bytes to CDNs, and prepare for Envoy and HTTP/3/QUIC for better worst‑case latency.

AI-written summary · about

  1. 0:00Start
  2. 0:59HTTP?
  3. 4:34HTTP in a Hostile World?
  4. 6:01What Triggers Repeats?
  5. 6:27Implementing Idempotence: Identify Intention
  6. 8:27API Contract v. 1
  7. 9:42Middleboxes!
  8. 10:42Designing HTTP APIs
  9. 11:06Status Codes
  10. 13:29REST: Retrofit
  11. 15:08Images: Coll
  12. 15:18Testing: MockWebServer
  13. 18:10Debugging: Charles Proxy
  14. 18:33Redundancy!
  15. 19:37Connectivity is a Lie
  16. 20:43Request Avoidance
  17. 22:01Precise Caching
  18. 22:15Good-Enough Caching
  19. 23:20Compression
  20. 23:46CDNs
  21. 25:33Granularity
  22. 27:23Data is Dangerous
  23. 29:42Other People's Secrets?
  24. 31:57TLS: Necessary
  25. 32:16TLS: Not Sufficient
  26. 34:40Defending against Nation-State Attacks
  27. 35:13TLS Evolution
  28. 36:44Objection
  29. 37:07Defending Against Whitebox Attackers
  30. 37:51Envoy
  31. 39:06HTTP/3
  32. 43:02OkHttp
~/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.