~/talk

Death by a thousand commits

Talkat RailsConf 2019 · 2019-05-01..05-03· [developer-experience]
speakerdeck:doliveirakn
slides:none on file

A Rails codebase at Clio is eating performance and developer velocity via N+1s and accumulated dead code so the team builds specific tools: a jit preloader that cuts database time from spikes of two to four minutes down to ~30 seconds and halves the 95th percentile and triples the 99th percentile of requests a dead code detector that allows deleting ~300 controller actions and ~1,000 methods after a month of production data add marginalia plus ActiveSupport attributes to trace slow SQL and use RuboCop and a shitlist to block bad patterns like unwrapped Tempfile usage

AI-written summary · about

  1. 0:00Start
  2. 0:14Pain Free Rails 66 Deployments
  3. 0:41Transforming the practice of law, for good
  4. 1:27Technical Debt
  5. 7:37Automate the debt away
  6. 15:41Clean up code you don't use
  7. 18:51dead_code_detector
  8. 19:20coverband
  9. 23:29marginalia
  10. 27:18Make it easier to keep the lights on
  11. 34:05Keep the bad patterns out
~/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.