知识卡片
异常检测须覆盖不同信号
系统异常可揭示除零、非法指令等偏离;参数围栏在可变长数据后放已知模式以发现越界覆盖;参数类型约束帮助收发两端核对消息内容类型;超时则标记未满足时序承诺。它们检测的是不同类别异常,需要后续处理策略,检测成功本身不等于故障恢复。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 第04章 可用性
原书出处 · 1 处
- 可用性 · 查看原书依据
Timeout is a tactic that raises an exception when a component detects that it or another component has failed to meet its timing constraints. For example, a component awaiting a response from another component can raise an exception if the wait time exceeds a certain value.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html)
- 结论依据:原文的定义、机制或比较支持“系统异常可揭示除零、非法指令等偏离;参数围栏在可变长数据后放已知模式以发现越界覆盖;参数类型约束帮助收发两端核对消息内容类型;超时则标记未满足时序承诺”;正文保留其条件与取舍。
- 原始内容:Timeout is a tactic that raises an exception when a component detects that it or another component has failed to meet its timing constraints. For example, a component awaiting a response from another component can raise an exception if the wait time exceeds a certain value.