[erlang-questions] Writers Readers problem

Gianfranco Alongi <>
Mon Jan 30 21:57:55 CET 2012


Some questions that can help us give you an accurate answer

1) How frequent does this happen?
    Once a second?
    Once a minute?
    Once an hour?

2) How large is the token?
    1 byte?
    1 Kbyte?
    1 Mbyte?

3) Do you need the storage to scale dynamically with more added nodes?

4) What more do you expect of the storage?
    - Automatic signaling on add/delete?
    - Triggers?
   etc

Cheers
G

On Mon, Jan 30, 2012 at 7:11 PM, Roberto Majadas Lopez
<> wrote:
> Hello everyone:
>
> I'm writting a erlang app and i've the next scenario:
>
> The app has n process that writes tokens in "somewhere" and there are m
> process that reads one of those tokens and remove it.
>
> Which is the best way to store this tokens ?
>  * global ets
>  * a gen_server + ets
>  * mnesia
>  * ...
>
> thanks in advance
>
> Roberto
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list