~/talk

Your API is Too Slow!

Talkat RedDotRubyConf 2016 · 2016-06-23..06-24· [api-design]
slides:none on file

Claim: most APIs are already fast enough, but when speed matters apply concrete fixes: put traffic behind a CDN and use HTTP/2, deploy read replicas near users, profile in production with ruby-prof and rack-mini-profiler and watch 75th/95th percentiles, push aggregation into SQL instead of heavy Ruby loops, use multi‑layer caching (app memory vs Redis), upgrade gems (observed 10–20% gains), swap JSON parser for OJ, move work to background jobs, and avoid full rewrites — Ruby scaled to 500k requests per minute in one real case.

AI-written summary · about

  1. 0:00Is your API fast enough?
  2. 2:20Defining speed as a feature
  3. 5:04Network and infrastructure
  4. 11:20Profiling and measuring
  5. 14:00Leveraging the database
  6. 18:54Caching and mutation
  7. 23:23Optimization and conclusion
~/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.