Cassandra's SuperColumns in Riak?

Jonathan Langevin jlangevin at loomlearning.com
Fri Jul 29 10:15:46 EDT 2011


Regarding map/reduce emulation, I was thinking more along the lines of using
a single bucket to achieve a similar effect.
So then you can pull an object (column family aka row of columns), or via mr
pull just x columns. Then to update, again use mr (instead of standard
post,post,etc) to update individual columns of the "family" (by updating via
mr, you reduce needless updating of *all* columns within the object)

So then a bucket would be a super-column in this scenario, using mr
emulation within that same bucket.

Again, I'm not saying this is a good idea or worthwhile whatsoever, but it
seems it could be possible as long as standard save/retrieve methods are
built in mr.

<http://www.loomlearning.com/>
*Jonathan Langevin
Systems Administrator
Loom Inc.
Wilmington, NC: (910) 241-0433 - jlangevin at loomlearning.com -
www.loomlearning.com - Skype: intel352*



On Fri, Jul 29, 2011 at 5:12 AM, Antonio Rohman Fernandez <
rohman at mahalostudio.com> wrote:

> **
>
> Yes, it can be done via MapReduce as i was doing, but seeing the latest
> developments that speed improvement was null was a shock to me, moreover
> when i'm trying to build a social network... haha... I really think it will
> help if buckets could be queried ( MapReduce ) directly without minding how
> many buckets or data is inside Riak.
>
> Rohman
>
> On Fri, 29 Jul 2011 05:04:34 -0400, Jonathan Langevin wrote:
>
> I second the motion!
> BTW, as a side discussion, it may be possible to emulate that functionality
> with map/reduce, but it wouldn't be anywhere near as powerful/versatile as
> if the functionality were directly built into Riak... Not sure if emulation
> via map/reduce would even be worth the effort to consider.
>
>   <http://www.loomlearning.com/>   *Jonathan Langevin*
> Systems Administrator  *Loom Inc.*
> Wilmington, NC: (910) 241-0433 - jlangevin at loomlearning.com -
> www.loomlearning.com - Skype: intel352
>
>
>
> On Fri, Jul 29, 2011 at 4:54 AM, Antonio Rohman Fernandez <
> rohman at mahalostudio.com> wrote:
>
>>  sorry, my bad, i wanted to say "ColumnFamilies" or
>> "SuperColumnFamilies", here there is some info:
>>
>> http://www.javageneration.com/?p=70
>>
>> Rohman
>>
>> On Fri, 29 Jul 2011 16:47:28 +0800, Antonio Rohman Fernandez wrote:
>>
>> Could it be possible to have "SuperColums" as Cassandra has? (
>> "SuperBuckets" would be more ideal name )
>> I think it would be a great improvement if we can query a bucket without
>> having to look at all buckets and keys in memory to search for it... this
>> way it would be easier and faster to modulate data so if you distribute data
>> in small buckets, the MapReduce on them would get faster... not sure if is
>> possible to implement, but is something i really would love to have in Riak
>> and it would help me a lot in my project... knowing that atomizing buckets (
>> "rohman_messages", "fyodor_messages" ) has no advantage over a huge
>> "messages" bucket really disappointed me.
>> thanks
>>
>> Rohman
>>  [image: line]  [image: logo] <http://mahalostudio.com>   *Antonio Rohman
>> Fernandez*
>> CEO, Founder & Lead Engineer
>> rohman at mahalostudio.com   *Projects*
>> MaruBatsu.es <http://marubatsu.es>
>> PupCloud.com <http://pupcloud.com>
>> Wedding Album <http://wedding.mahalostudio.com>  [image: line]
>>
>>  --
>>  [image: line]  [image: logo] <http://mahalostudio.com>   *Antonio Rohman
>> Fernandez*
>> CEO, Founder & Lead Engineer
>> rohman at mahalostudio.com   *Projects*
>> MaruBatsu.es <http://marubatsu.es>
>> PupCloud.com <http://pupcloud.com>
>> Wedding Album <http://wedding.mahalostudio.com>  [image: line]
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>   --
> [image: line]  [image: logo] <http://mahalostudio.com>   *Antonio Rohman
> Fernandez*
> CEO, Founder & Lead Engineer
> rohman at mahalostudio.com   *Projects*
> MaruBatsu.es <http://marubatsu.es>
> PupCloud.com <http://pupcloud.com>
> Wedding Album <http://wedding.mahalostudio.com>  [image: line]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110729/240bd2b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blocked.gif
Type: image/gif
Size: 118 bytes
Desc: not available
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110729/240bd2b9/attachment.gif>


More information about the riak-users mailing list