<div dir="ltr">In Erlang, we handle concurrency in such a way: a process receives messages in its mailbox. And handle them one by one, just one in the same time.<div><br></div><div>But in some situation, the request just want to read the resource. So the read requests should be able to execute at the same time since they don't change or break anything.</div>
<div><br></div><div>So dose this meas if we use a write lock in such situation, we will have a better performance? If so, does Erlang have a proper way to do that?</div><div><br></div><div>Thanks.</div><div><br></div><div>
---</div><div>Bin Wang</div></div>