Sharing virtual memory: several Mnesia nodes on the same machine

Chandrashekhar Mullaparthi <>
Tue Aug 16 22:18:00 CEST 2005


On 16 Aug 2005, at 10:34, Ulf Wiger (AL/EAB) wrote:

>
> No. The nodes run as separate Unix (or windows) processes,
> using no shared memory, communicating over TCP.
>
> The main reason for running several nodes on one machine
> has been to simulate a real network.

We run several mnesia nodes on one machine which are all part of the 
same schema to minimise the effect of a partitioned network. One huge 
database is split across two erlang nodes which are then replicated to 
two other nodes on another machine. When we have a partitioned network, 
we have one consistent copy of the database on one machine. This scheme 
has worked quite well for us.

Chandru

>
>> -----Original Message-----
>> From: 
>> [mailto:]On Behalf Of Joel Reymont
>> Sent: den 16 augusti 2005 11:24
>> To: Erlang Users' List
>> Subject: Sharing virtual memory: several Mnesia nodes on the same
>> machine
>>
>>
>> Folks,
>>
>> If I have several nodes on the same machine using the _same_ Mnesia
>> database, is the memory shared using mmap or some such mechanism?
>>
>>      Thanks, Joel
>>
>> --
>> http://wagerlabs.com/uptick
>>
>>
>>
>>
>




More information about the erlang-questions mailing list