Building Monoliths that Could Scale (Easily) to Microservices (If They Need)
summary
Asserts that starting as a monolith using CQRS and DDD plus event-sourcing keeps design simple but makes extracting services trivial later. Shows a working conference chat demo: command handlers (aggregates) emit events to Axon Server, projections update query databases, queries return aligned views. Uses Axon Framework, Spring profiles and Docker to split the app into modules and run multiple instances; commands produce events and projections stay consistent, proving the approach works.
AI-written summary · about
chapters (6)
- 0:00Introduction and context
- 7:27Starting with a monolith
- 17:17Commands, queries and events
- 24:42Designing for scalability
- 31:50Live demo and code walkthrough
- 39:31Conclusion and resources
related talks
52mBuilding monolith applications that could scale to microservices..
39mPragmatic Microservices with DDD, CQRS and Event Sourcing Using Axon Framework
01h 02mBuilding that glorious monolith. And carving it too.
02h 29mPractical advice for building glorious monoliths
36mDo Proper Monoliths before You Do Microservices!
46mAxon Framework : A CQRS Approach to Microservices
47mThree Microservice Patterns to Tear Down Your Monoliths
43mModular Monoliths: The Architecture That Scales w Your Domain
