zot icon indicating copy to clipboard operation
zot copied to clipboard

[Feat]: Per-client Rate Limit overrides

Open seniorquico opened this issue 6 months ago • 9 comments

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

We are using the built-in rate limiter to help mitigate the obvious concerns. We recently started using the sync plugin to mirror our repositories in different regions. The rate limits we chose are low, but more than sufficient for a standard end user. However, when we bring a new mirror online, or if there is a significant change in the content on our upstream, the mirror may hit the rate limit.

Describe the solution you'd like

It would be great to configure a rate limit override that increases the quota for our mirror server. The override could be matched to a client by the remote IP address or maybe by the bearer token's sub claim?

Describe alternatives you've considered

I'm not sure what other alternatives might exist, but definitely open to ideas if there's something simpler we could apply.

Additional context

No response

seniorquico avatar Aug 08 '24 01:08 seniorquico