知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.1.e.2.d

异步降低时间耦合

理解等级:初级

异步交互让生产者不必等待消费者立即完成工作,消费者在后续处理消息。它增加缓冲和故障容忍空间,但需要管理处理滞后、失败与状态可见性,不能把发送成功等同于业务已完成。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event and Notification Management · 查看原书依据

      Reactive communication requires a different mindset: you wait for someone to contact you and then take action. Applications and integration platforms can do the same with events, sending an event or message to a message queue and waiting for another application to pick it up. This loose coupling takes away the dependency of waiting for the other party to react immediately. Asynchronous communication thus makes

    参考来源

    - 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html) - 结论依据:原文对dependency of waiting for the other party的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。 - 原始内容:Reactive communication requires a different mindset: you wait for someone to contact you and then take action. Applications and integration platforms can do the same with events, sending an event or message to a message queue and waiting for another application to pick it up. This loose coupling takes away the dependency of waiting for the other party to react immediately. Asynchronous communication thus makes