模板 / flowchart

事件溯源 + CQRS

命令端写入事件流,独立的读模型投影负责响应查询。

在 Studio 中打开

预览

Mermaid 11 渲染器

正在渲染预览...

Mermaid 源码

flowchart

flowchart LR
    client[Client] --> command[Command handler]
    command --> store[(Event store)]
    store --> projector[Projector]
    projector --> readmodel[(Read model)]
    client --> query[Query handler]
    query --> readmodel

更多模板