Blog riak design

Buri Arslon buriwoy at gmail.com
Wed Mar 7 12:03:50 EST 2012


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 <buriwoy at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120307/8c5b566a/attachment.html>


More information about the riak-users mailing list