I’ve had the pleasure to talk at the Chicago Java User Group and talk about how Lagom implements CQRS, the Command Query Responsibility Segregation pattern. Thankfully, there is a recording and I also published the slides on slideshare.
As soon as an application becomes even moderately complex, CQRS and an Event Sourced architecture start making a lot of sense. The talk is focused on: – the challenges and tactics of separating the write model from the query model in a complex domain – how commands naturally lead to events and to an event based system, and – how events get projected into useful, eventually consistent views. Event Sourcing is one of those things that you really need to push through at the beginning (much like TDD) and that – once understood and internalized, will change the way you architect a system. This talk introduces you to the basic concepts and problem spaces to solve.
Thanks again for hosting me, CJUG! It was a real pleasure!