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

Reasons for high core RPS #789

Open
rishabhpoddar opened this issue Sep 6, 2023 · 0 comments
Open

Reasons for high core RPS #789

rishabhpoddar opened this issue Sep 6, 2023 · 0 comments

Comments

@rishabhpoddar
Copy link
Member

  • In email verification required mode, the frontend calls the is email verified GET API, which can call the get user by ID function 1-2 times. If this API is called very often from the frontend (for whatever reason), then it can lead to high rps. For example, if using nextjs, and forget to add cache control in the middleware API, then it can result in 304, which will not update the tokens correctly, which will then cause issue it to fire this api again
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