You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Login api is very slow due to bCrypt. About 4 queries per sec on Amazon EC2 single core machine. Node prof tools shows that about 89% cpu cycles are used by bCrypt function "encipher".
Any good solution to this?
Thats correct, this is by design. Tuning bcrypt might be a reasonable solution, but making it work with existing passwords would not be easy. It's not in our roadmap but we would welcome PRs!
Activity
framp commentedon Apr 14, 2016
bcrypt is slow by design
Maybe parse-server could offer some ENV_VARS to configure bcrypt?
drew-gross commentedon Apr 14, 2016
Thats correct, this is by design. Tuning
bcryptmight be a reasonable solution, but making it work with existing passwords would not be easy. It's not in our roadmap but we would welcome PRs!