知识卡片

普通读书笔记卡 · 2081.b.11.a

入口限速须定义超额语义

理解等级:高级

SLA可以把最大到达率与保证响应时间绑定;超过上限则排队、拒绝或丢弃,并明确是否记录和通知。队列必须有资源边界,不能把无限积压当作无损承诺。请求重要性不同时可优先处理关键事件;它保护的是被接受任务的响应,代价是延迟、拒绝或低优先级饥饿风险。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 性能 · 查看原书依据

      If you adopt this tactic and it is unacceptable to lose any events, then you must ensure that your queues are large enough to handle the worst case. Conversely, if you choose to drop events, then you need to choose a policy: Do you log the dropped events, or simply ignore them? Do you notify other systems, users, or administrators?

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第09章《性能》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch09.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:If you adopt this tactic and it is unacceptable to lose any events, then you must ensure that your queues are large enough to handle the worst case. Conversely, if you choose to drop events, then you need to choose a policy: Do you log the dropped events, or simply ignore them? Do you notify other systems, users, or administrators?