~/talk

Cache is King: Get the Most Bang for Your Buck From Ruby

Talkat RubyConf 2018 · 2018-11-28..11-30· [ruby, databases]
github:mstruve
slides:none on file

Uses Ruby to cut external hits: implements bulk serialization so 300 vulnerabilites go from 2,100 MySQL calls to seven (roughly 7,000 calls per 1,000 down to seven), dropping DB CPU to ~20–25% and serialization from ~6s to <1s; replaces Redis lookups with a local hash cache for a ~65% job speedup; removes Resque throttling when it causes Redis to spike (observed >50 MB/s) and notes cache invalidation pitfalls and practical limits.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Site Reliability
  3. 4:45Vulnerability Management
  4. 8:42Custom Fields
  5. 13:45Performance
  6. 16:47Solution
  7. 18:25Avoid Datastore Hits
  8. 23:37Datastore Reports
  9. 26:40Rescue Workers
~/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.