pawelkaczor / akka-ddd

Akka CQRS/ES framework
https://newicom.pl/akka-ddd/
MIT License
352 stars 61 forks source link

saga manager is singleton or multiple instances at runtime? #27

Closed coding4m closed 8 years ago

coding4m commented 8 years ago

hi it seems like the saga manager or process manager is state sensitive, is there just a singleton or multiple instance when a saga manager running ?

pawelkaczor commented 8 years ago

Hi @coding4m . The saga manager is a singleton (per business process class) receptor that propagates events to appropriate saga office. To provide at-least-once-delivery guarantee it writes incoming events to an in-memory journal. What do you mean by "state sensitive"?

pawelkaczor commented 8 years ago

Let's continue discussion on the gitter channel: https://gitter.im/pawelkaczor/akka-ddd