[erlang-questions] bcrypt message queues
Mon May 30 23:27:03 CEST 2016
I have a fork that uses a pool of ports. It's being used in production and
has been verified to process requests concurrently.
On Tue, 31 May 2016, 02:45 Richard Jonas, <
> Hey guys,
> 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?
> Richard Jonas
> Erlang Solutions Hungary Kft
> Riverpark Office K.32
> Közraktár street 32. 3/1.
> 1093 Budapest
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions