~/talk

How to get away with refactoring

Talkat The Lead Developer Austin 2018 · on Thursday, 2018-12-06· [devops-and-delivery, databases]

Slack faces escalating scale from 2M to 6M DAUs and fixes a chronic morning-outage pattern by changing the data model for channels and membership. Key outcomes and methods: consolidated channels and memberships into one table, replaced duplicated queries spread over ~400 call sites in ~100 files, use feature flags and dashboards to roll and monitor changes, months-long rewrite with documented plan that uncovered 9M Slackbot conversations and a DM with 22M messages, enabling safer deletes, easier recoveries, and measurable performance stability.

AI-written summary · about

  1. 0:00Intro
  2. 1:09What is refactoring
  3. 2:33Why you shouldnt refactor
  4. 5:44What could go wrong
  5. 6:35Refactoring
  6. 7:10Storytime
  7. 8:50Slack
  8. 9:38Schema
  9. 10:19Problems
  10. 14:26Solutions
  11. 16:51Plan
  12. 18:44Mistakes
  13. 19:32Other tips
  14. 20:35Future flags
  15. 21:23Dashboards
  16. 22:02Bugs
  17. 22:34Documentation
  18. 24:02Channel deletion
  19. 25:27Celebrate
  20. 26:22Cleanup
~/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.