[erlang-questions] gen_server with a dict vs mnesia table vs ets

Pablo Platt pablo.platt@REDACTED
Thu Jan 28 14:09:37 CET 2010


If ETS is private to one table I guess I need to implement a gen_server on top of it.
In that case wouldn't a dict in the gen_server state do the same?
Is there a number of items above which is it better to use ETS and not a dict?




________________________________
From: Max Lapshin <max.lapshin@REDACTED>
To: Pablo Platt <pablo.platt@REDACTED>
Cc: erlang-questions@REDACTED
Sent: Thu, January 28, 2010 3:03:26 PM
Subject: Re: [erlang-questions] gen_server with a dict vs mnesia table vs ets

What for do you need transaction for ETS, if you can make it private
to one process?



      


More information about the erlang-questions mailing list