~/talk

Keep Storing and Carry On

links:none on file
slides:none on file

Grafana’s monolithic storage starts as a 140+ method SQL store in Go using sqlx and global state; the team proves a service/store split with a preference POC of five methods and fakes for tests. The hard limits are real: create user called 100+ times and delete touches about 10 tables in a transaction, forcing layered, iterative refactors—first a wrapper layer, then copy-and-remove steps. Outcome: feature-scoped services, easier ownership, remaining work on transactions and DB wiring.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Talk structure and Grafana history
  3. 3:17Storage challenges with global variables
  4. 4:43Grafana 6 storage shift
  5. 5:26Storage refactor problem
  6. 7:14New service and store layers
  7. 8:57Preference service proof
  8. 10:00Refactor approach and pitfalls
  9. 11:26Scope adjustment with one method
  10. 12:29User store refactoring challenges
  11. 13:33Layered iterations refine scope
  12. 14:38First iteration success
  13. 15:20Second iteration results
  14. 16:44Current state and improvements
  15. 17:28Q&A
~/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.