~/talk

High Perfmance Caching with Rails

Talkat GoRuCo 2012 · on Saturday, 2012-06-23· [ruby, web-performance]
links:none on file
slides:none on file

Explains a record-level caching approach for Rails that stores serialized models in memcache, caches secondary indexes as small ID-only entries, and uses a cache-version integer to invalidate whole models by bumping keys. Claims scale to hundreds of thousands of memcache requests per second with a 98% cache hit rate. Notes that rendering still happens after fetch, raw SQL and migrations require manual invalidation, update_all/delete_all are handled, and complex ActiveRecord chaining is not yet supported.

AI-written summary · about

  1. 0:00Introduction to caching
  2. 1:06Comparing caching strategies
  3. 2:51Implementing record cache
  4. 6:13Addressing caching trade-offs
  5. 7:44Invalidation and performance
~/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.