[erlang-questions] Does read-write lock has a better performance than actor model?
Bin Wang
wbin00@REDACTED
Tue Apr 15 15:31:53 CEST 2014
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.
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.
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?
Thanks.
---
Bin Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140415/d64e065e/attachment.htm>
More information about the erlang-questions
mailing list