~/talk

Safe Network API Migration Tactics

Talkat droidcon San Francisco 2024 · 2024-06-06..06-07· [android, api-design]
links:none on file
links:none on file
slides:none on file

Uber migrates high‑QPS JSON HTTP endpoints to gRPC with a requirement of zero downtime and QPS increase under 2% and uses Retrofit/OKHttp, gRPC over HTTP3, GCP/Cloudflare. Migration builds shadow calls at the gateway with an async cache to compare requests and responses, a client‑side transformer, and load tests, yielding 45% payload reduction and roughly a 30% latency drop. Rollout uses gradual percentage exposure, client randomization (50/50 split) and a local rollback library that flips after three errors per device.

AI-written summary · about

  1. 0:00API migration challenges
  2. 2:36HTTP to gRPC migration
  3. 4:00Three phases of safe migration
  4. 5:05Pre-flight with shadow calls
  5. 9:42Latency and payload reduction
  6. 12:52Cloud provider incompatibilities
  7. 14:01Timeout and API behavior
  8. 16:31Shadow call results
  9. 17:13Inflight gradual rollout
  10. 18:38Circuit breakers and randomization
  11. 20:47Local rollback
  12. 23:38Cleanup and API retirement
  13. 25:05Production vs shadow results
  14. 26:30Summary
~/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.