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, and gather results of all those processes (master needs to know/admin which process is start on which slave node; the context is a small load-testing tool I am writing mostly to learn Erlang/OTP).
<br><br>Current implementation is fairly simple/direct: Master start the processes on slaves, and wait that the slaves send back results.<br><br>Looks like using mnesia could give me another implementation to solve the 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 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 slave failed before the end, send half the data only, send all data once or piece by piece...
<br>Drawback is maybe efficiency: master and all the slaves will share all the data, where I only need a data transfer from slave->master ... looks like mnesia will do more than what I need: am I in such a case where "when you have a hammer everything looks like a nail"?