~/talk

Optimizations in Multiple Dimensions

Talkat RubyConf 2018 · 2018-11-28..11-30· [web-performance, ruby]
slides:none on file

Starts with concrete claims: JIT warmup makes later runs faster, MRI allocates 16KB pages for objects, small hashes use a flat array until 3 keys, and a CPU-bound job runs 3s dev vs 20min prod under realistic load. Caching costs include network latency (example 10ms) and eviction strategy; aim for cache hit rate >99% (drop cache if <90%). Measure latency and throughput separately, record metrics with Librato or New Relic, then tune and remeasure.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45What is optimization
  3. 2:46Metrics
  4. 5:28Performance
  5. 13:39Communication
  6. 14:08Tradeoffs
  7. 14:41CPU vs RAM
  8. 17:43Small vs Large Data Sets
  9. 18:19Most Data Sets are Small
  10. 19:50MRI
  11. 21:42Caching
  12. 23:57Cache Invalidation
  13. 26:19Cache Hit Rate
  14. 28:14Readability
  15. 30:27Performance in Production
  16. 31:48Summary
  17. 33:45Outro
~/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.