知识卡片

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

广播事件形成语义解耦

理解等级:中级

发布者广播事实时,不必知道当前有哪些订阅者或它们如何处理。原书股市价格例中,价格发布者广播最新报价,交易分析、买卖处理器各自决定是否响应。这称为语义解耦,便于增加消费者;它只说明发布者与处理动作分离,不表示消费者无需治理或数据契约。后句为应用边界推断。[[无人订阅的事件保留扩展点]]

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项;源文件:`OEBPS/ch15.html`) - 结论依据:单元08:股价广播例子。 - 原始内容:This is known as semantic decoupling in that one event processor has no knowledge of (or dependency on) the actions of other event processors.