Hi all -<br><br>can there be multiple instances of a gen_server module on the same node? I couldn't find the answer googling (though I probably missed it), but reading through the source code it seems that the server process is registered by name, so by default it appears to be a singleton.
<br><br>The gen_server start template from erlang mode and programming erlang looks like <br><br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
</span><br style="font-family: courier new,monospace;"></div><br>Could it be that to enable multiple instances, instead of using ?MODULE as the name, I pass in a different name myself and explicitly pass the name through the API to get to the correct server?
<br><br>Any insights are appreciated, thanks,<br>yc<br><br><br>