Eventual consistency is not a problem but an opportunity! Command Query Responsibility Segregation (CQRS) and Event Sourcing are two powerful architectural patterns that by embracing eventual consistency allow you to create highly scalable systems. By splitting up the responsibility of modifying and retrieving state this simplifies your code as each class have to do less work. Avoid the typical CRUD trap that we see so many systems fall into and write your system in a different, much more domain driven style. This presentation will go through both Event Sourcing and CQRS, both benefits and challanges based on real world experience. All example code will be in Java.
Sign in to add slides, notes or videos to this session