Skip to content

Explain the sliding window rate limiter estimate - #8381

Merged
markstory merged 1 commit into
5.xfrom
5.x-sliding-window-note
Nov 5, 2026
Merged

markstory merged 1 commit into
5.xfrom
5.x-sliding-window-note

Conversation

@dereuromark

Copy link
Copy Markdown
Member

Docs for cakephp/cakephp#19754, which fixes the sliding window limiter so it no longer decays its own counter.

The Sliding Window section now says how the estimate works and that it assumes the previous window's requests were spread evenly, so up to twice the limit can still get through in one window length. That came up in review of the code PR.

@markstory markstory added this to the 5.x milestone Nov 5, 2026
@markstory
markstory merged commit fe87b9c into 5.x Nov 5, 2026
6 checks passed
@markstory
markstory deleted the 5.x-sliding-window-note branch November 5, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants