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.
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:
Tasks:
Acceptance Criteria: