[erlang-questions] Re: Local node worker process pool

Vasilij Savin vasilij.savin@REDACTED
Tue Jan 12 23:41:43 CET 2010


Hey Ciprian,

I would like to second gen_server:cast as solution for a) case.

Regarding case of async server calls, I would go with solution b) initially,
as it feels conceptually cleaner and more clear to me.

However, forgive me, if I read you wrong, but it feels like you are falling
into trap of "pre-mature optimisation". Are you sure it will generated
unreasonably many processes, maybe tweaking some parameters (like sending
updates more seldom) would solve the problem.

There are no universal solutions, I would recommend trying the simple
solution that works and then analyse if it satisfies your requirements.

Regards,
Vasilij Savin


More information about the erlang-questions mailing list