Glossary

Sliding Window

A rate-limiting method that counts requests over a moving time window.

1 min read·4 sections
Open the interactive version → diagrams, practice & more

Definition

A rate-limiting method that counts requests over a moving time window.

How it works

More accurate than fixed windows (which allow 2× bursts at the boundary).

Common questions

What is Sliding Window?

A rate-limiting method that counts requests over a moving time window.

How does Sliding Window work?

More accurate than fixed windows (which allow 2× bursts at the boundary).

What is Sliding Window used for in system design?

More accurate than fixed windows (which allow 2× bursts at the boundary).

Part of Glossary on SystemLore — system design explained with 148 deep topics, interactive diagrams, and a build-it-yourself game. Build this one →