Overview
Explore how to leverage the actor model in building event-based CQRS systems within Domain-Driven Design (DDD) in this comprehensive conference talk from NDC London 2022. Discover the synergy between actors and DDD as Hannes Lowette guides you through implementing such a system using .NET 6 and Akka.NET. Delve into practical code examples and learn about actor systems, hierarchies, supervision, aggregates, command routers, projectors, and event stream folding. Gain insights into overcoming challenges like inbox overflow and understand the key concepts necessary for successful implementation. Suitable for developers with basic knowledge of DDD principles, this talk provides a deep dive into advanced architectural patterns for building robust, scalable systems.
Syllabus
Agenda
Lockdown boredom
Reality
Sending beer is tricky
DDD in a nutshell
Commands & Events
CORS
What I want
The simplest actor
The Actor System
Actor hierarchy
Creating Children
Supervision
Aggregates
Implementation (State)
Implementation (Commands)
Implementation (Events)
Test base class (1)
Clean Test
Aggregate Actor
Implementations
Aggregate manager
Command Router
Projectors
Fold the event stream
Inbox overflow
Things we didn't talk about
Taught by
NDC Conferences