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

Max Lapshin <>
Thu Jan 28 14:14:41 CET 2010


On Thu, Jan 28, 2010 at 4:09 PM, Pablo Platt <> 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