~/talk

High performance APIs in Ruby using ActiveRecord and Goliath

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby-on-rails, web-performance]
slides:none on file

Claims a Ruby API is reimplemented to hit roughly 1000X throughput and cut 90th percentile latency under 200ms by replacing threaded Rails with an evented stack using EventMachine, Synchrony, and Goliath. The system shards processes per core, proxies connections, and falls back to per-pool overflow numbers when shards lag. Benchmarks show up to ~2,000 rps with medians around 100ms. Tools include ActiveRecord reuse, careful dependency trimming, a small exception proxy, and parallel scatter/gather across shards.

AI-written summary · about

  1. 0:00Start
  2. 2:40The Requirements
  3. 4:44Reactor Pattern
  4. 22:14Sandi Metz's Rules
  5. 23:20Singletons
  6. 23:51Modified Singleton
  7. 29:48Call to Action
~/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.