← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4519

熔断快速停止无效调用

理解等级:高级

当目标服务持续慢或失败时,熔断根据阈值暂时停止继续调用,以减少等待和资源消耗。它与失败后继续重试的方向不同,阈值和恢复条件须服务于降级策略,而不是把所有失败无限转发。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 服务网格基础 · 查看原书依据

      Circuit breaking provides configurable timeouts (or failure thresholds) to ensure safe maximums and facilitate graceful failure, commonly for slow-responding services. Using a service mesh as a separate layer to implement circuit breaking will avoid excessive overhead on applications (services) at a time when they are already oversubscribed. Rate limiting (throttling) is used to ensure stability of a service so that when one client causes a spike in requests, the service

    参考来源

    - 位置:《The Enterprise Path to Service Mesh Architectures, 2nd Edition》第01章《服务网格基础》(来源项目book-sources;源文件:extracted/The Enterprise Path to Service Mesh Architectures, 2nd Edition/_epub-src/OEBPS/ch01.xhtml) - 结论依据:原文在此说明该机制、范围或取舍;本卡保留其历史语境,不将预测、产品状态或命令作为当前已核验事实。 - 原始内容:Circuit breaking provides configurable timeouts (or failure thresholds) to ensure safe maximums and facilitate graceful failure, commonly for slow-responding services. Using a service mesh as a separate layer to implement circuit breaking will avoid excessive overhead on applications (services) at a time when they are already oversubscribed. Rate limiting (throttling) is used to ensure stability of a service so that when one client causes a spike in requests, the service