知识卡片

普通读书笔记卡 · 2313.e.5.m.4

异步通道可拆开运行依赖

理解等级:中级

原书股票交易教学例中,投资组合系统同步等待交易订单系统返回确认号,两者形成运行时依赖:后者不可用会阻断提交。改为队列发送订单、另用异步通道回传确认后,前者可先接受待处理订单,两个架构量子不再因同步调用绑在一起。这里仅描述系统可先接收;成交、合规通过和确认到达仍须后续处理,不能把“已受理”写成“交易成功”。[[异步确认只改善响应感受]]

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event-Driven Architecture Style · 查看原书依据

      By using asynchronous communication, the Portfolio Management system can send the trade order through a queue or some other asynchronous means, so it doesn’t have to wait for the Trade Order system to create the trade order.

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项;源文件:`OEBPS/ch15.html`) - 结论依据:单元07:股票交易异步受理示意。 - 原始内容:By using asynchronous communication, the Portfolio Management system can send the trade order through a queue or some other asynchronous means, so it doesn’t have to wait for the Trade Order system to create the trade order.