The document discusses implementing domain events with Akka. It introduces domain events and their benefits, such as loose coupling and scalability. It then provides an overview of Akka and how it can be used to build reactive applications. The presentation demonstrates how to model domain events and implement event handling using Akka actors and event buses. Finally, it briefly discusses reactive application principles and examples of systems using this approach.
13. tung_nt@septeni-technology.jp
Event name modeling
Name and their properties depend on Ubiquitous
Language in Bounded Context
Event usually derived from the command that was
executed:
Domain Event name = Aggregate name + Command name + past tense
Ex:
UserRegistered
OrderCompleted
ProjectStarted
18. tung_nt@septeni-technology.jp
Akka highlight
Tool to build reactive application
Concurrent, distribution by design
High performance
50 million msg/sec on a single machine
~2.5 million actors per GB of heap.
Elastic & Decentralized
Load balancing
Routing
Partitioning and sharding.
Written by Scala