← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1754.x.1.b

缓存与异步各移一种压力

理解等级:高级

缓存重复读取可减少数据源实际读负载,但收益取决于可接受的数据陈旧时间和命中模式。异步则允许把工作放到更宽时间窗口,队列吸收短期尖峰;若长期平均到达率超过消费能力,队列仍会持续积压。前者重用结果,后者平移执行时间,都不能凭增加一个组件创造无限处理能力。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 高可用与扩展 · 查看原书依据

      When we implement asynchronous processing, the queues are a useful tool that we can use to absorb short-term spikes. However, if the system behind the queue can’t handle the long-term average message rate, the queue overflows.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第09章《高可用与扩展》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch09.xhtml) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:When we implement asynchronous processing, the queues are a useful tool that we can use to absorb short-term spikes. However, if the system behind the queue can’t handle the long-term average message rate, the queue overflows.