[erlang-questions] Can gen_tcp/inets store connection-specific user state?

Tony Arcieri <>
Tue Jul 20 19:30:40 CEST 2010


On Tue, Jul 20, 2010 at 10:55 AM, Jesper Louis Andersen <
> wrote:

> Personally, I would pick ETS. It is a a rather simple start and it is
> about the only thing we have in erlang when you want something
> array-like or fast access.


Why would you pick ETS over a proxy process for something ephemeral like a
socket, and how would you manage garbage collecting the terms in all cases
when the socket closes?

-- 
Tony Arcieri
Medioh! A Kudelski Brand


More information about the erlang-questions mailing list