~/talk

Cache = Cash! 2.0

Talkat RailsConf 2025 · 2025-07-08..07-10· [ruby-on-rails, web-performance]
slides:none on file

Claims concrete wins: focusing on CPU caches (L1/L2) and data layout, switching heavy ActiveRecord loads to trimmed SELECTs and smaller SQL types, adding missing indexes, fragment caching with touch updates, and HTTP ETag/Last-Modified checks. Benchmarks on a Raspberry Pi Model 3 with 50,000 seeded products (generated by Claude/agent) show micro‑optimizations +3% and +6% then a 60% win from proper touch keys and static prerendering (50,000 static product files), taking the workload from ~30,000 ms down to ~3,500 ms — a roughly tenfold throughput gain.

AI-written summary · about

  1. 0:00Introduction
  2. 2:09CPU Cache
  3. 6:08Back to 2013
  4. 7:18Back to 2025
  5. 9:44Baseline
  6. 15:42Fragments
  7. 17:24HTTP Cache
  8. 22:53Autoban
  9. 26:42Speed
  10. 28:07Webpage comparison
~/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.