Distribution with Mnesia
Ulf Wiger (ÄL2/EAB)
ulf.wiger@REDACTED
Tue Aug 12 09:52:25 CEST 2003
Marc,
If you want to have a very dynamic network of mnesia nodes,
I suggest you configure a few nodes to hold a disk copy of
the schema, and manage them with care. Then, you can connect
other nodes using the mnesia 'extra_db_nodes' feature.
These nodes will be "diskless" from mnesia's perspective,
and may come and go at will... almost. If a diskless node
loses contact with one of the master nodes, it should
unconditionally restart (mnesia, at least).
Running distributed erlang over SSL is probably a good idea.
/Uffe
-----Original Message-----
From: Marc Ernst Eddy van Woerkom
[mailto:Marc.Vanwoerkom@REDACTED]
Sent: Tuesday, August 12, 2003 04:32
To: erlang-questions@REDACTED
Subject: Distribution with Mnesia
The features of Mnesia, as described in the docs, are remarkable.
But what exactly is its useful grade of distribution?
Is it just usuable for a well defined group (not changing too
much in time) of nodes that are kind of close together (e.g.
in the same corporate LAN or WAN?
The other extreme would be a kind of P2P setting,
with lots nodes that join and leave the net in an
unpredictable fashion.
Or not so extme:
Would it allow connecting let's say 10 servers
via the internet?
Would inter node metadata flow be possible over
encrypted channels?
Regards,
Marc
More information about the erlang-questions
mailing list