~/talk

Refactoring With Science

Talkat Big Ruby 2014 · 2014-02-20..02-21· [testing]
slides:none on file

Claims that production-safe refactoring is possible by running parallel code paths and measuring differences, using the Science gem to run control vs candidate blocks, publishing mismatches and performance to graphite and janky and viewing accuracy over time in a staff UI. Instrumentation includes backscatter tracing (sampled as low as 1 in 1000 calls) and ramped experiments (often 1 in 10 sampling), branch-by-branch deploy labs, and a mad_science toggle that can flip to the candidate — metrics show green/red accuracy and timing so decisions rest on numbers not promises.

AI-written summary · about

  1. 0:00Start
  2. 0:27Hello, my name is Wynn.
  3. 1:23How do we gain CONFIDENCE?
  4. 2:01Use data to inform decisions.
  5. 3:27The Graph Store M
  6. 3:44Built on Graphite.
  7. 8:08The GitHub Flow
  8. 9:14Or deploy and merge.
  9. 11:24Get up to date with master.
  10. 15:11Problem? ABORT.
  11. 17:19Find and remove vestigial code
  12. 17:31GitHub::Backscatter
  13. 19:06Experiment with confidence.
  14. 20:06github/dat-science
  15. 21:08Safely observe alternate code paths.
  16. 21:58Create and run.
  17. 22:43Ramping up experiments.
  18. 23:28jnunemaker/flipper
  19. 25:17Adding custom context
  20. 26:23Analyzing results.
  21. 26:41github/dat-analysis
~/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.