← 返回卡片

原书出处

System Design Interview – An insiders guide, Second Edition

04 限流器

Second Edition · 核验版本的摘录快照 · 导入于 2026-10-23T11:57:02.139Z

Fixed window counter algorithm works as follows: •The algorithm divides the timeline into fix-sized time windows and assign a counter for each window. •Each request increments the counter by one. •Once the counter reaches the pre-defined threshold, new requests are dropped until a new time window starts. Let us use a concrete example to see how it works. In Figure 4-8, the time unit is

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0009_split_002.html

EPUB SHA-256:ffc3a97753094acb30719f26589af322724b6c17c10371f0626e61687734b345