What is the difference between a saga, a process manager and a document-based approach?

前端 未结 5 1670
野趣味
野趣味 2020-12-22 19:05

What I understand is that all three concepts are related to long-running transactions.

A process manager is, to my understanding, a finite state machine which simply

5条回答
  •  天命终不由人
    2020-12-22 19:36

    Saga has no state while Process Manager has.

    Another difference - Process Manager is a state machine, Saga is not.

    Saga does not have

    • state machine state
    • data state (some persisted data)

    .. and Process Manager has

    • state machine state
    • data state (some persisted data)

    Read more in my blog: http://blog.devarchive.net/2015/11/saga-vs-process-manager.html

提交回复
热议问题