(re-post some exchange I forgot to copy to the list)<br><br>Thanks, most of my current knowledge is based on a lot of "2 cents" ... so I always enjoy to got some more! :)<br><br>I understand that slave can write in the remote table of master.
<br>But
my point was that there will be some overhead due to mnesia to share
all the schema/actions between master and slaves. I don't care about
schema/data exchange between master and one slave, but I wonder if
mnesia has to make connection between all slaves to know who is writing
what, when, where ...<br><br><div><span class="gmail_quote">On 3/7/07, <b class="gmail_sendername">t ty</b> <<a href="mailto:tty.erlang@gmail.com">tty.erlang@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You do not have to replicate the data. Is possible to have the slave<br>see the data as a remote table. In this case the data from one slave<br>isn't propagated to the other slaves.<br><br>Overall I would consider mnesia overkill for your needs. But thats
<br>just my 2 cents.<br><br>Regards<br><br>t<br><br>On 3/6/07, Ludovic Coquelle <<a href="mailto:lcoquelle@gmail.com">lcoquelle@gmail.com</a>> wrote:<br>> Hi everyone,<br>> I would like some advice on "using mnesia or not".
<br>><br>> The problem I try to solve: A master node run some processes on slave nodes,<br>> and gather results of all those processes (master needs to know/admin which<br>> process is start on which slave node; the context is a small load-testing
<br>> tool I am writing mostly to learn Erlang/OTP).<br>><br>> Current implementation is fairly simple/direct: Master start the processes<br>> on slaves, and wait that the slaves send back results.<br>><br>
> Looks like using mnesia could give me another implementation to solve the<br>> problem: slave write data to mnesia, master read mnesia.<br>> Is it a "good idea" to use mnesia only for data transfer? (don't care for
<br>> now that master will have to store data in some db, it's another issue)<br>><br>> Advantage I see to mnesia is that I don't have to manage all cases where<br>> slave failed before the end, send half the data only, send all data once or
<br>> piece by piece...<br>> Drawback is maybe efficiency: master and all the slaves will share all the<br>> data, where I only need a data transfer from slave->master ... looks like<br>> mnesia will do more than what I need: am I in such a case where "when you
<br>> have a hammer everything looks like a nail"?<br>><br>> Any thought?<br>><br>> _______________________________________________<br>> erlang-questions mailing list<br>> <a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br>> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>><br>><br></blockquote></div><br>