[erlang-questions] A problem with ETS + SMP

Philip Robinson chlorophil@REDACTED
Thu Mar 27 10:47:55 CET 2008


On 27 Mar 2008 08:25:18 +0100, Bjorn Gustavsson <bjorn@REDACTED> wrote:
>  The Erlang virtual machine needs to take two lock for each ets operation:
>  one lock on the table containing all ets tables, and one lock on the table
>  itself (since ets:info/1,2 may be called, the lock needs to be taken even
>  if the table is private).

It sounds like there would be a similar slowdown effect with Mnesia + SMP too.

Is that correct?

Thanks,
Philip



More information about the erlang-questions mailing list