Speed Science
summary
Shows concrete claims and fixes: reproduces slowness, uses a scientific loop of hypothesis + measurement, and ships tooling like derail benchmarks, allocation_tracer and memory_profiler to profile boot and requests. Diagnoses a disk IO bottleneck (raising Sidekiq concurrency from 30 to 4 speeds work) and a heavy mail gem parser that inflates boot RSS; lazy-loading or swapping parser removes swap, cuts RAM and makes the app “scream” fast.
AI-written summary · about
chapters (12)
- 0:00Introduction to speed
- 1:36How to make things fast
- 2:30Personal introduction
- 4:35Case study: debugging slowness
- 7:28Disk I/O bottleneck
- 10:33Scientific method in software
- 12:54Understanding Ruby memory
- 18:59Memory usage in Rails
- 21:58Optimizing gem performance
- 27:40Detecting bad gems
- 34:03Results and takeaways
- 36:22Funday Friday proposal








