apache / apache/polaris

[FEATURE REQUEST] Pre-auth rate limiter

Open
#318 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 22h
Merged PRs (30d)
137

Description

### Is your feature request related to a problem? Please describe.

In https://github.com/apache/polaris/pull/278 we added a post-auth rate limiter. We discussed that there should also likely be a pre-auth one because Polaris will have already done some work by the time that rate limiter runs.

### Describe the solution you'd like

A pre-auth rate limiter. This doesn't necessarily have to be implemented _in_ Polaris, but could also be in the form of Docker/Kubernetes config for rate limiting at Envoy/Nginx.

### Describe alternatives you've considered

N/A

### Additional context

https://github.com/apache/polaris/pull/278/files#r1770776479

Contributor guide

Open the contributing guide

Research direction

Review PR #278 and its linked discussion to understand the existing post-auth rate limiter. Decide whether pre-auth limiting belongs in Polaris or in Envoy/Nginx or Docker/Kubernetes configuration; the work is complete when a concrete approach for limiting requests before authentication is defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java, kubernetes, nginx
Domain
backend, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.