CQRS & Event-Sourcing in Microservice-Architectures
Domain-driven Design, Events, CQRS, and Event Sourcing are important foundations for a microservices architecture. These slides present an overview over these concepts and show benefits as well als challenges.
Item sizes Item weights Delivery address • Specialized “events” • Independent evolution • Easy to figure out which Bounded Context uses what • Extensibility need new events • DDD: Customer / Supplier ??? New Order ???
Context • …communicate via events • Inconsistencies can be dealt with • What is in the event? • Event Sourcing: A pattern for state management. • CQRS: Split commands and queries • Do not overuse Event Sourcing and CQRS