~/talk

Building a best-effort distributed fallback

speakerdeck:sushant
slides:none on file

Built a best‑effort distributed fallback that triggers in the gateway when upstream returns HTTP 500+, uses Envoy sidecar for fault injection and circuit breaking, and serves a reduced offer set from locally pulled geospatial config so users can still request rides during outages. Feature toggles live in a feature-toggle kit and can disable the fallback in ~2 minutes; continuous tests and a chaos experimentation UI exercise the fallback (staged percent runs) and acceptance tests confirm it works—trades degraded UX for sustained availability while avoiding DB overload via static stability and overprovisioning.

AI-written summary · about

  1. 0:00Start
  2. 3:09The Purchase Flow domain
  3. 7:40Build a fallback?
  4. 9:33Problems with a distributed fallback
  5. 12:52Building Resiliency
  6. 13:14Improve reliability of the normal mode
  7. 13:59Sidebar: Fault injection testing
  8. 15:13Sidebar: Envoy service mesh
  9. 18:49Pick the simplest fallback design
  10. 21:42Sidebar: Static Stability
  11. 23:29Reuse code from the normal mode
  12. 24:36Continuously exercise the fallback
  13. 25:41Sidebar: Feature Toggles
  14. 28:48Thoroughly test the fallback-end to end
  15. 29:49Support disabling the fallback
  16. 30:40The fallback mode
  17. 32:06To recap...
~/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.