<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I think using a message queue such as zeromq or rabbitmq maybe
better.<br>
Wang Wei<br>
于 2012/1/31 2:11, Roberto Majadas Lopez 写道:
<blockquote
cite="mid:CAPwpAUyW2H-ietrnYi37M51AwWyQqyasz-OSpjgqtBDx6Ek45Q@mail.gmail.com"
type="cite">Hello everyone:
<div><br>
</div>
<div>I'm writting a erlang app and i've the next scenario:</div>
<div><br>
</div>
<div>The app has n process that writes tokens in "somewhere" and
there are m process that reads one of those tokens and remove
it.</div>
<div><br>
</div>
<div>Which is the best way to store this tokens ?</div>
<div> * global ets</div>
<div> * a gen_server + ets</div>
<div> * mnesia</div>
<div> * ...</div>
<div><br>
</div>
<div>thanks in advance</div>
<div><br>
</div>
<div>Roberto</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>