Reminiscing a Crazy Journey: Building an Event-Sourced ERP System
summary
A decade-long rebuild creates a low-code platform called Focus and an event-sourced ERP named SB+ that now hosts accounting for one thousand companies. Architecture uses custom .NET CQRS, Microsoft SQL for read models, an analyzer that finds ~4,000 commands and ~12,000 event types, and projector-driven read tables. Practical fixes include per-projector projection rules, nightly diffs of generated artifacts, replay shortcuts via summary sync events, and zero-downtime upgrades by background-copying event streams.
AI-written summary · about
chapters (12)
- 0:00Introduction and journey overview
- 3:39Legacy system challenges and motivation
- 7:13Prototyping and initial architecture
- 13:38Model-driven development approach
- 16:25Power of projections in event sourcing
- 18:55Database separation and cross-projector joins
- 21:24Replay challenges and solutions
- 26:03Upgrades without downtime
- 28:54Repairs and event rewriting
- 31:41Analyzer and impact analysis
- 33:06Event-driven domains and management tooling
- 34:10Context-specific solutions and closing
