[erlang-questions] mnesia cluster of p2p style?

Michael Truog mjtruog@REDACTED
Mon Apr 11 09:04:55 CEST 2011


That seems like a very complex situation, that is not straight-forward, mainly because of the node count.  Erlang by default creates a fully connected network topology when using the distributed Erlang.  That generally means that Erlang clusters using distributed Erlang should be limited to roughly a hundred nodes unless some type of hierarchy (tree) of nodes is used.  To do a hierarchical setup seems like it would be more difficult than with other systems, and I have not seen a good example or research in this area, as it relates to Erlang.  If you got a hierarchy working, then you could use hundreds of nodes, and try to get mnesia replication working with updates propagating the network.  This task sounds like it might be a better fit for something like Riak or Scalaris.

On 04/10/2011 10:54 PM, max tan wrote:
> Hi all,
>
> Is it possible to setup a Mnesia cluster consisting hundreds (or more) nodes, wherein each table is replicated by 3-4 nodes? I think the problem may be concerning Mnesia schema, which is shared by the whole cluster, and tables are dynamically created, deleted and moved.  So I worry about the schema_transaction overhead.
>
> Best regards.
>
> Tan Qingming.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110411/2d288953/attachment.htm>


More information about the erlang-questions mailing list