Chapter 5. Domain-driven design
This chapter covers
- Domain-driven design
- Modeling a flight domain
- The Saga Pattern
- Modeling domain aggregates with Akka
- The Akka Process Manager pattern
Sometimes, humans require some distance to fully comprehend a thing. An example is an impressionist painting. When you look at one of these paintings up close, all you see are colored dots and small brushstrokes; you don’t see a clear image. When you back away from the painting, it becomes clear, and you can see a child on a swing, a park, or a lake. This situation is similar with a large architecture, a reactive architecture being no exception. In this spirit, we take some steps back in this chapter to look at a reactive application from a distance, starting ...