[erlang-questions] BEAM performance?

Håkan Mattsson hawk.mattsson@REDACTED
Wed May 24 16:38:37 CEST 2017

On Wed, May 24, 2017 at 3:19 PM, Jesper Louis Andersen <
jesper.louis.andersen@REDACTED> wrote:

> As for the two DB writes to the same row in short order: Mnesia uses an
> optimistic locking strategy. If two transactions write to the same row at
> the same time, both will aborted, wait a bit and try again. If you're
> unlucky, those two writes will keep interfering with each other and you
> will get lag.

​No, only one transaction will be restarted.​

​The "oldest" one will be completed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170524/23797c66/attachment.htm>

More information about the erlang-questions mailing list