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 Porto 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 covering topics like actor systems, hierarchies, supervision, aggregates, command routing, and projectors. Learn how to handle challenges such as inbox overflow and gain insights into advanced concepts not covered in depth. Suitable for developers with basic knowledge of DDD principles, this talk offers a deep dive into combining actor models with event sourcing and CQRS for more efficient and scalable software architectures.
Syllabus
Intro
Lockdown boredom
Reality
Sending beer is tricky
DDD in a nutshell
Commands & Events
What I want
The simplest actor
The Actor System
Actor hierarchy
Creating Children
Supervision
Aggregates
Base behavior
Implementation (State)
Implementation (Commands)
Implementation (Events)
Test base class (1)
Clean Test
Aggregate Actor
Base Actor (3)
Aggregate manager
Command Router
Projectors
Fold the event stream
Inbox overflow
Things we didn't talk about
Taught by
NDC Conferences