Git: The secret event store that ships in sync with your code
summary
Claims Git can be a production event store by storing one JSON blob per event as individual commits, using commit trailers and refs for metadata and sequence positions, and a small Rust tool that implements append with condition and updates refs atomically. The implementation provides agent memory, time travel and branching by keeping events beside code; limitations include fsync-bound performance, merge granularity, blob growth and no built-in query engine, so a real database still wins at scale.
AI-written summary · about
chapters (15)
- 0:00Intro
- 0:13Welcome and introduction
- 1:15Why use Git as an event store?
- 2:02About Tobias
- 3:42Event stores in a nutshell
- 4:42Appending with a consistency condition (DCB)
- 7:38Git fundamentals
- 9:03Storing events in Git
- 12:08The refs layout
- 13:32Appending an event
- 14:14Live demo
- 20:02Demo: piping events and conditional appends
- 21:41Where a database still wins
- 23:37Writing the specification: UbLang and Allium
- 27:31Q&A
