[erlang-questions] bcrypt message queues
Tue May 31 11:30:37 CEST 2016
If it takes less than "milliseconds", it's broken.
Standard recommendations are 50ms.
From: erlang-questions-bounces@REDACTED <erlang-questions-bounces@REDACTED> on behalf of Sverker Eriksson <sverker.eriksson@REDACTED>
Sent: Tuesday, 31 May 2016 6:56:05 PM
To: Richard Jonas
Subject: Re: [erlang-questions] bcrypt message queues
How heavy duty is this bcrypt?
Does it take milliseconds to hash one little password?
On 05/30/2016 04:38 PM, Richard Jonas wrote:
we are implementing user registration and password checking functionality
and using bcrypt for password hashing. During registration and also during
login we need to compute the hashes of the passwords. The problem is that
bcrypt is serializing requests even when I choose nif or port mechanism.
With nif a message queue is instantly built when multiple users log in
(compute hashes for match password). With a pool size+port implementation,
the message queue building has just deferred a bit.
Is there any alternative to creating bcrypt-like hashes? For me it seems
that this library cannot be scaled well. Or have I missed something?
erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions