[erlang-questions] sharing config via a dynamically compiled module?

Ilya Khaprov ilya.khaprov@REDACTED
Sat Oct 28 09:07:38 CEST 2017


Sure, then the question is how often config change happens. I doubt that often.
But having careful measurements always helps of course.

From: Max Lapshin<mailto:max.lapshin@REDACTED>
Sent: Saturday, October 28, 2017 09:38 AM
To: Ilya Khaprov<mailto:ilya.khaprov@REDACTED>
Cc: Benoit Chesneau<mailto:bchesneau@REDACTED>; Erlang Questions<mailto:erlang-questions@REDACTED>
Subject: Re: [erlang-questions] sharing config via a dynamically compiled module?

Take a look at thread nearby.

> All literals belong to a loaded module instance. When that (old) module instance is purged, all process heaps are scanned and heaps containing those literals will do a special garbage collection where the literals are copied.

Each config change may lead to rescanning heaps of all processes.


Frankly speaking global ets is much easier =)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171028/733aec4d/attachment.htm>


More information about the erlang-questions mailing list