知识卡片
本地集成应控制故障
可控制的本地集成环境把代理、模式、状态和处理框架与业务逻辑一起验证。通过网络失联、组件失败、实例扩缩和分区变化,检查共分区、状态恢复和API访问。内嵌运行时受语言限制,容器依赖较通用;模拟器可能缺少生产语义,应记录差异而非把本地通过等同于线上保证。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Testing Event-Driven Microservices · 查看原书依据
The biggest benefit of spinning up your own locally controllable environment is that you get to control each system independently. You can programmatically create scenarios that replicate actual production situations, such as intermittent failures, out-of-order events, and loss of network access. You also get to test the integration of the framework with your business logic. Local integration testing also provides the means to test the basic functionality of horizontal scaling,
参考来源
- 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第15章《Testing Event-Driven Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch15.xhtml;规范化段落起句:The biggest benefit of spinning up)
- 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:可控制的本地集成环境把代理、模式、状态和处理框架与业务逻辑一起验证。本卡同时保留其适用条件与失败边界。
- 原始内容:The biggest benefit of spinning up your own locally controllable environment is that you get to control each system independently. You can programmatically create scenarios that replicate actual production situations, such as intermittent failures, out-of-order events, and loss of network access. You also get to test the integration of the framework with your business logic. Local integration testing also provides the means to test the basic functionality of horizontal scaling,