How to store a list in riak?

ZhouJianhua jh.zhou at outlook.com
Thu Aug 16 07:05:37 EDT 2012


Hi,
I want to store a list and append item to it later. Is it suitable to do this in riak?My scheme is like this:
  message: bucket of all messages;  message/_meta:  an object to store the first index and last index of list;  message/n: key of message, such as message/1, message/2, ...
I have never used key-value DB, and had no idea how to model. Any suggestion would be appreciated!
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120816/ea2e6c98/attachment.html>


More information about the riak-users mailing list