~/talk

Derisking Migrations of API Backends

speakerdeck:sushant
slides:none on file

Built a Go gateway as a strangler facade that proxies production traffic, uses a shadowing package with a detached context to mirror requests to a new microservice (separate DBs per system), and compares responses in real time. Observed a 99.95% status match during shadowing, the new backend is a few hundred milliseconds faster, and incremental rollout via the existing experimentation system shifts users by traffic split by user ID until complete cutover and legacy deprecation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:58Strangler Pattern
  3. 3:05Strangler Facade
  4. 3:56Traffic Splitting
  5. 4:43Traffic Shadowing
  6. 6:28Tagging Shadow Requests
  7. 6:59What is Lyft
  8. 7:19The Backend
  9. 8:56The Migration
  10. 10:22Gateway
  11. 10:56Shadowing
  12. 12:26Shadow Package
  13. 14:04RunCallback Package
  14. 14:28Fetch Offers Package
  15. 16:15Compare Method
  16. 17:12Status Quo
  17. 17:59Latency
  18. 18:49Incremental rollout
  19. 19:53Switch cases
  20. 22:19Conclusion
~/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.