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

Add APIKey performance optimizations #37

Open
nathanclevenger opened this issue Oct 10, 2022 · 0 comments
Open

Add APIKey performance optimizations #37

nathanclevenger opened this issue Oct 10, 2022 · 0 comments

Comments

@nathanclevenger
Copy link
Member

We should add the user info for an APIkey to in-memory dictionary ... the use of APIkeys significantly and dramatically lowers performance ... we maybe need to reconsider a JWT-based approach for M2M tokens using an accountId and Secret ... either for user-specific signing or maybe we could create an endpoint where a JWT could be created with userId & secret.

The fact that we seem to be adding 50-250ms on the initial request and 10-40ms for additional requests with API keys is too much ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant