知识卡片

普通读书笔记卡 · 1980.z.4.e.7.a

外部调用限制重放确定性

理解等级:高级

流处理中的外部查询可能随时间返回不同数据,重放也可能大量调用远端,造成限额、费用或重试风暴。应记录必要结果、设置限流与失败语义,并保护不可重复副作用。外部接口协议变化还可能打断处理;代理配额只能限制部分输入速度,不能代替请求端的速率与幂等管理。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Integrating Event-Driven and Request-Response Microservices · 查看原书依据

      Finally, consider the frequency at which you make requests to an endpoint. For instance, say that you discover a bug in your microservice and need to rewind the input stream for reprocessing. Event-driven microservices typically consume and process events as fast as they can execute the code, which could lead to a massive surge in requests going to the external API. This can cause the remote service to fail or

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第13章《Integrating Event-Driven and Request-Response Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch13.xhtml;规范化段落起句:Finally, consider the frequency at which) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:流处理中的外部查询可能随时间返回不同数据,重放也可能大量调用远端,造成限额、费用或重试风暴。本卡同时保留其适用条件与失败边界。 - 原始内容:Finally, consider the frequency at which you make requests to an endpoint. For instance, say that you discover a bug in your microservice and need to rewind the input stream for reprocessing. Event-driven microservices typically consume and process events as fast as they can execute the code, which could lead to a massive surge in requests going to the external API. This can cause the remote service to fail or