知识卡片

问题卡 · 4420

硬软限流承诺不同

理解等级:高级

硬限流要求不能越过额度,软限流容许短时超出。应用层限流还可与网络层保护组合;客户端则通过缓存、理解配额和退避重试减少无效调用,但这些措施不能代替可信入口的强制控制。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 限流器 · 查看原书依据

      Step 4 - Wrap up In this chapter, we discussed different algorithms of rate limiting and their pros/cons. Algorithms discussed include: •Token bucket •Leaking bucket •Fixed window •Sliding window log •Sliding window counter Then, we discussed the system architecture, rate limiter in a distributed environment, performance optimization and monitoring. Similar to any system design interview questions, there are additional talking points you can mention if

    参考来源

    - 位置:《System Design Interview – An insiders guide, Second Edition》第04章《限流器》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0010_split_001.html) - 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。 - 原始内容:Step 4 - Wrap up In this chapter, we discussed different algorithms of rate limiting and their pros/cons. Algorithms discussed include: •Token bucket •Leaking bucket •Fixed window •Sliding window log •Sliding window counter Then, we discussed the system architecture, rate limiter in a distributed environment, performance optimization and monitoring. Similar to any system design interview questions, there are additional talking points you can mention if