CQRS, DDD synching reporting database

前端 未结 1 1084
没有蜡笔的小新
没有蜡笔的小新 2021-02-06 12:30

We are trying CQRS and DDD and event sourcing. Let\'s say I have a customer update an email address, which fires out CustomerUpdatesEmailAddress Event, this goes through to my o

1条回答
  •  春和景丽
    2021-02-06 12:52

    In this podcast (slide 47 for example) Udi Dahan states that the client doesn't have to wait for the read site to get updated. The client can "fake" it. So for example, if a user changes his or hers email-address, the client can take the new address from the command it sent and show it to the user before the command has actually been processed.

    0 讨论(0)
提交回复
热议问题