← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.b.3.d.1.a

服务监控应贴近业务

理解等级:高级

服务健康检查应反映自身职责,例如商品服务关心响应时间,订单服务关心交易完成率。进程存活不等于业务成功;细分服务让监控更有针对性,也要求保留跨服务诊断能力。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Monoliths and Microservices · 查看原书依据

      Customized health checks Each microservice can have its own set of health checks based on its operational parameters. For instance, the ProductCatalogService might have health checks focused on response times to show items to users and database integrity, while the OrderService might monitor transaction completion rates and payment failure rates. This allows for more precise monitoring, ensuring that each service is performing optimally and that

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第02章《Monoliths and Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch02.xhtml) - 结论依据:原文以服务职责、依赖或运行情境展开本卡主题;本卡保留其作用条件与代价,不把局部优势推广为无条件保证。 - 原始内容:Customized health checks Each microservice can have its own set of health checks based on its operational parameters. For instance, the ProductCatalogService might have health checks focused on response times to show items to users and database integrity, while the OrderService might monitor transaction completion rates and payment failure rates. This allows for more precise monitoring, ensuring that each service is performing optimally and that