~/talk

How Not to Destroy Data

Talkat CodeMash 2018 · 2018-01-09..01-12· [databases]
links:none on file
slides:none on file

Argues for a data model that records immutable facts so state changes become inserts: only inserts no updates no deletes, identities come from natural keys or client timestamps, mutable properties move to version rows linked by a predecessor graph for mutable fields and current state is whatever version has no successor. Shows concrete SQL patterns—unique constraints, WHERE NOT EXISTS queries for “not deleted,” timestamped deletions/restorations—claims this yields easy sync, offline-first clients, no locking, and conflict detection.

AI-written summary · about

  1. 0:00Intro
  2. 1:55CRUD
  3. 4:22Audit Log
  4. 10:50Event Sourcing
  5. 22:47Identity
  6. 30:33Select Where Not Deleted
  7. 32:07Deletion
  8. 39:02Select Where Not Superseded
  9. 43:48Mutable Properties
  10. 50:26Workflow
  11. 51:28Occasionally-Connected Apps
  12. 52:17Active-Active Clusters
  13. 54:00Microservices
~/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.