I have another crazy idea :) What if I create a bucket for each blog's comments? So, riak/blog_bucket/blog_01 and comments go to riak/blog_01_comments?
Any ideas? -- Buriwoy On Tue, Mar 6, 2012 at 10:07 AM, Buri Arslon <buri...@gmail.com> wrote: > Hi, > > I'm very new to NoSQL/KV database systems. Sean's webinar "Schema Design > for Riak" http://vimeo.com/17604126 gave me some idea about how to move > to kv database, but I feel I need some more advice/docs to fully grasp this > new concept for me. > > I was thinking about developing a blog application using Riak. Which > schema would be most effective for that kind of application (regular blog: > content + comments): > > bucket_blogs -> blog content; > bucket_blogs_comments -> comments for the blogs in the bucket_blogs > > or, > > bucket_blogs -> JSON("blog": <<blog content>>, "comments": <<comments>>)? > > The second option seems less effective if number of comments grow > significantly. But I'm not sure. Any hints? Ideas? > > Thanks! > -- Buriwoy >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com