[erlang-questions] gen_server with a dict vs mnesia table vs ets
Pablo Platt
pablo.platt@REDACTED
Thu Jan 28 14:28:46 CET 2010
The fact that ETS doesn't take part in garbage collection is a good or bad feature in my case?
________________________________
From: Max Lapshin <max.lapshin@REDACTED>
To: Pablo Platt <pablo.platt@REDACTED>
Cc: erlang-questions@REDACTED
Sent: Thu, January 28, 2010 3:14:41 PM
Subject: Re: [erlang-questions] gen_server with a dict vs mnesia table vs ets
On Thu, Jan 28, 2010 at 4:09 PM, Pablo Platt <pablo.platt@REDACTED> wrote:
> 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?
I don't know such number, but there is clearly told, that data in ETS
doesn't take part in garbage collection.
More information about the erlang-questions
mailing list