~/talk

Monitor, Fix and Deploy (on Friday)

Talkat rubyday 2021 · on Wednesday, 2021-04-07· [ruby-on-rails, microservices]
slides:none on file

A migration from REST to GraphQL pairs feature flags and a fallback to let traffic roll out gradually while custom instrumentation logs method, args, stack traces and response times. N+1 external calls collapse from thousands→dozens by batching and preloading; payloads shrink from 40 fields to 4 with server-side filtering; a bad sanitizer once caused millions of records to be fetched and CPU/memory spikes ~20x, but iterative monitoring, fixes and rate limiting produce a final 100% enablement that is unremarkable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Friday deployment dilemma
  3. 3:16Billing service extraction
  4. 7:32Safe deployment environment
  5. 10:22Monitoring and visibility
  6. 13:15N+1 queries and caching
  7. 16:09Domain knowledge vs tricks
  8. 17:58GraphQL and filtering
  9. 21:14Production meltdown recovery
  10. 24:25Debugging request floods
  11. 27:59Safe Friday deployments
  12. 30:09Why we couldn’t optimize perfectly from the start
  13. 33:22Q&A
  14. 41:31Q&A defenses
  15. 43:18Q&A postmortems
~/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.