Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support rate limiting #11

Merged
merged 4 commits into from
Aug 2, 2022
Merged

Conversation

bahlo
Copy link
Member

@bahlo bahlo commented Jul 26, 2022

This adds support for rate limiting. It also moves the /v1 prefix to the route level so we can upgrade individual routes.

bahlo added 3 commits July 25, 2022 11:51
We need to own the methods to be able to add rate limit checking.
This adds support for rate-limit headers on ingest and query. Rate
limits are cached and requests are not event attempted if we know
they'll fail with a 429.
This allows us to upgrade individual scopes or even routes.
@bahlo bahlo requested a review from dasfmi July 26, 2022 10:58
@bahlo bahlo requested a review from lukasmalkmus July 26, 2022 11:19
Copy link
Contributor

@dasfmi dasfmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bahlo bahlo merged commit e623e94 into main Aug 2, 2022
@bahlo bahlo deleted the arne/dx-124-support-rate-limiting-in-axiom-rs branch August 2, 2022 08:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants