The Chronicles of Order Management at Scale
summary
Transforms a 30‑year, million‑lines‑per‑domain monolith for a global Swedish retailer into an event‑sourced CQRS system using Axon Framework and event storming, with anti‑corruption layers, idempotent APIs, DLQs and circuit breakers. Order reads drop from seconds to ~10 ms after replacing an 82‑table join; an early performance test shows 2,400% performance gain. Handles failures by requeueing to DLQ so upgrades lose no orders, and adopts git‑style revert commands to undo persisted events.
AI-written summary · about
chapters (21)
- 0:00Introduction and speaker background
- 1:03Company history and early challenges
- 3:33Organic monolithic architecture
- 6:09Domain-driven design adoption
- 8:19Business events and legacy issues
- 9:04Modernization and SOA transition
- 10:29Microservices and Kotlin experiment
- 12:36Microservices benefits and challenges
- 13:41CQRS and event sourcing introduction
- 15:29Event storming and legacy code analysis
- 16:56Rebuilding from scratch strategy
- 18:05Event sourcing framework choice
- 19:09Anti-corruption layer design
- 20:56Performance gains and viral success
- 22:23Projection pitfalls and idempotency
- 24:10Failure handling and DLQ strategies
- 25:53Circuit breaker and retry patterns
- 27:40Immutable events and data protection
- 29:05Event reverting and Git-like workflow
- 30:09Order state interpretation challenges
- 31:56Conclusion and future work
