[erlang-questions] A problem with ETS + SMP

ayman abolfadl ayman_abolfadl@REDACTED
Thu Mar 27 19:23:16 CET 2008


well, what i know about mnesia is that it's ets tables incase of ram copies tables and dets incase of disc copies tables.
   
  What i could asure to you is that mnesia is much more slower than mnesia.
   
  Note: Mnesia shouldn't be used in complex operations it's prefered to be used in easy operations that need fast processing in memory.
   
  Regards,
   
  Ayman Abolfadl

Philip Robinson <chlorophil@REDACTED> wrote:
  On 27 Mar 2008 08:25:18 +0100, Bjorn Gustavsson 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
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080327/5aa089b3/attachment.htm>


More information about the erlang-questions mailing list