<div dir="ltr">Hey guys,<div><br></div><div>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.</div><div><br></div><div><a href="https://github.com/chef/erlang-bcrypt">https://github.com/chef/erlang-bcrypt</a></div><div><br></div><div>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.</div><div><br></div><div>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?<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Richard Jonas</div><div>Erlang Solutions Hungary Kft</div><div><br></div><div>Address:</div><div>  Riverpark Office K.32</div><div>  Közraktár street 32. 3/1.</div><div>  1093 Budapest</div><div>  Hungary</div><div>Phone/fax:</div><div>  +36-1-7000-654</div></div></div>
</div></div>