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

[Long term] Performance: Caching the salt? #43

Closed
LBiv opened this issue Jul 11, 2015 · 1 comment
Closed

[Long term] Performance: Caching the salt? #43

LBiv opened this issue Jul 11, 2015 · 1 comment

Comments

@LBiv
Copy link
Contributor

LBiv commented Jul 11, 2015

This depends on whether incorrect login credentials terminate the session with the user. If they don't perhaps we should cache a username-salt pair and attach it to the session so that consecutive login attempts don't require repeated salt queries.

edit:

Although this maybe something that's already optimized by the database itself... It probably is.

@ladar
Copy link
Member

ladar commented Jan 24, 2017

The meta user object should be caching auth cred values.

@ladar ladar closed this as completed Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants