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

Roger Lipscombe roger@REDACTED
Wed Oct 25 15:04:46 CEST 2017

On 25 October 2017 at 13:29, Benoit Chesneau <bchesneau@REDACTED> wrote:
> I'm temped to compile dynamically a module for some highly demanded resources
> to share their config instead of using ETS for it. But I'm wondering if's not
> to hackish. (I'm also tempted by just using something more pure like sharing it
> via message passing).
> Are other people do such thing?

Yes: https://github.com/mochi/mochiweb/blob/master/src/mochiglobal.erl

More information about the erlang-questions mailing list