~/talk

Database Guardrails - new age for developers and databases

Talkat Conf42 JavaScript 2023 · on Thursday, 2023-11-16· [databases, developer-experience]
slides:none on file

Shows concrete failures and fixes: a single aggregate query extracts ~300,000 rows and runs ~25 seconds until rewritten as several small queries; a CTE rewrite doubles latency (13s vs 8s). Identifies silent harms — long migrations (minutes to hours, sometimes months), runaway n+1 queries, too many or missing indexes — and ties runtime behavior to planner choices via execution plan and OpenTelemetry traces. Matis integrates into CI/CD and local dev with one JS dependency to catch these issues before production.

AI-written summary · about

  1. 0:00intro
  2. 0:22preamble
  3. 1:03where we used to be...
  4. 2:41where we are now
  5. 5:00everything is complex
  6. 5:28monitoring doesn't make it simpler
  7. 6:35what breaks in the current world?
  8. 8:00problems with databases
  9. 10:12slow queries
  10. 16:04incompatible changes in schema
  11. 19:46missing indexes
  12. 21:01too many indexes
  13. 22:00bugs
  14. 24:18n+1 selects
  15. 26:37joins
  16. 27:04polymorphism
  17. 28:20data types
  18. 30:06lack of visibility
  19. 30:42migrations
  20. 31:21reviews
  21. 31:57tests - do they work?
  22. 33:02load testing?
  23. 35:01solution - database guardrails
  24. 35:31know the context to find the root cause
  25. 40:07monitoring and observability
  26. 40:42opentelemetry (otel)
  27. 41:20traces and spans in otel and jaeger
  28. 42:39what to observe?
  29. 42:51executing the query: parser, rewriter, planner, executor
  30. 43:20anatomy of an sql query
  31. 45:17database guardrails
  32. 48:10be proactive and push to the left!
  33. 48:22demo
  34. 52:37source code integration
  35. 53:00summary
  36. 53:55thank you
~/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.