Skip to content

FEAT: Adaptive Rate Limiting Profiles With Burst Support #7

@MrEthical07

Description

@MrEthical07

Background:
Fixed-window limiting works, but modern production traffic often benefits from burst-aware or adaptive profiles.

Problem:
Current limiter in internal/core/ratelimit/ratelimit.go only supports static fixed-window semantics.

Scope:

  • Extend rate limit rule model to support burst and profile behavior.
  • Integrate policy-level usage in internal/core/policy/ratelimit.go.
  • Preserve backward compatibility with existing rules.

Tasks:

Acceptance Criteria:

  • Existing static rule behavior remains unchanged by default.
  • New burst/profile mode functions deterministically.
  • Retry-After and blocked decisions remain correct and tested.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions