Case Study of Moving from CRUD to Log Based State Management
summary
Claims a move from CRUD to an append-only log stored as MongoDB documents, using two-layer logs—a lightweight metadata log pointing to a huge business event log—to store aggregates, tombstones and 2D timestamps. Handles up to one billion records, deduplicates by business-time vs processing-time, shards queries across partitions, and cuts heavy initial loads from about 30 hours to 4.5 hours by parallelizing dataset runs and replaying or deactivating batches for recovery. Retention is per-flow.
AI-written summary · about
chapters (12)
- 0:00Intro
- 2:58Context: Master Data Management (in 1 min)
- 4:40Context: Manufacturing Master Data
- 6:13Motivations for Rethinking Data Management
- 11:32Fragility of incremental CRUD Batch Processing
- 14:55Logging Application Events Event Sourcing
- 20:36Rethinking the Batch Dataset
- 29:27Composition of Partial State as an Event Stream
- 32:28MongoDB as an Event Log
- 37:39Deriving State from the Event Log
- 40:20Functional Schematic
- 46:31Final Thoughts
related talks
32mStoring State Forever: Why It Can Be Good For Your Analytics
29mWide Event Analytics
38mPostmortem: Evolution of an Event recording solution
11mBig Data Analytics: Immutability & Idempotence
14mSolving Data Engineering Challenges
45mReal Time Analytics with MongoDB
48mIntegrating microservices by accepting the data dichotomy
30mData @Scale Seattle- Sundaram Narayanan
