[erlang-questions] Does read-write lock has a better performance than actor model?
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions