Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Router should call enforcer only if its necessary #2012

Open
Tharsanan1 opened this issue Feb 20, 2024 · 0 comments
Open

Router should call enforcer only if its necessary #2012

Tharsanan1 opened this issue Feb 20, 2024 · 0 comments

Comments

@Tharsanan1
Copy link
Contributor

Description:
Currently router calls enforcer for all the requests it gets. When a resource does not have authentication or ratelimit policy attached to it, this enforcer call is redundant. In most of the case endpoints like this (no auth and ratelimit attached ones) tend to invoked by a lot of users, so having this redundant enforcer call might affect the overall performance in the real world deployments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant