Yet another question about which NoSQL to choose.
However, I haven't found yet someone asking for this type of purpose, message storing...
I have an Erlang Chat Server made, I'm already using MySQL for storing friend list, and "JOIN needed" informations.
I would like to store Messages (That user has not receive because he was offline...) and retrieve them.
I have made a pre-selection of NoSQL, I can't use things like MongoDB due to it's RAM oriented paradigm, and fail to cluster like others.
I have down my list to 3 choices I guess :
I know that their model are quit different, one using key/value, the other using SuperColumns and co.
Until now I had a preference for Riak due to it's stable client library for Erlang.
I know that I can use Cassandra with Thrift, but it seems not very stable with Erlang (I haven't got good returns about it)
I don't really know anything about HBase right now, just know it exist and is based on Dynamo like Cassandra and Riak.
So Here's what I need to do :
- Store from 1 to X messages per registered user.
- Get the number of stored messages per user.
- retrieve all messages from an user at once.
- delete all messages from an user at once.
- delete all messages that are older than X months
Right now, I'm really new to those NoSQL DB, I always been a MySQL aficionados, This is why I ask you this question, as a Newbie, would someone who has more experience than I could Help me to choose which one is better, and would let me do everything I want to without to much hassle...
Thanks !
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…