Mnesia Traffic

Sean Hinde Sean.Hinde@REDACTED
Thu Oct 25 02:44:36 CEST 2001

> Hello,
> I know in previous releases of erlang that if I have a group 
> of nodes all
> running mnesia and replicating that they each talk to every 
> other node on
> the network. This is a concern of the project manager that is 
> responsable
> for giving erlang a yes or a no. He is worried about network traffic.

In the quiet state when there are no updates to replicated tables the only
traffic between mnesia nodes is the normal periodic 'ping' every 45 seconds
or so. I'd be very surprised if this was even measurable in terms of LAN

If you have lots of replicated tables and are doing lots of updates then the
traffic will be pretty much proportional to the volume of updates.

> Erlang seems to be the perfect choice for this project otherwise. Does
> anyone know of a way around this all talk to all others 
> behavior?

You also have the option to set up erlang nodes with their own standalone
mnesia instances which will not talk to each other at all - simply create a
schema on the local node only: mnesia:create_schema([node()]).

We run quite a number of Erlang nodes in our office environment and have not
come across any problems.

I hope this helps


This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

More information about the erlang-questions mailing list