CQRS sagas - did I understand them right?

后端 未结 3 1936
鱼传尺愫
鱼传尺愫 2020-12-14 03:14

I\'m trying to understand sagas, and meanwhile I have a specific way of thinking of them - but I am not sure whether I got the idea right. Hence I\'d like t

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-14 03:37

    There are different means of implementing Sagas. Reaching from stateless event handlers that publish commands all the way to carrying all the state and basically being the domain's aggregates themselves. Udi Dahan once wrote an article about Sagas being the only Aggregates in a (in his specific case) correctly modeled system. I'll look it up and update this answer.

    There's also the concept of document-based sagas.

提交回复
热议问题