cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Dawrani <roshandawr...@gmail.com>
Subject Re: Is there any way I could use keys of other rows as column names that could be sorted according to time ?
Date Fri, 14 Jan 2011 15:30:06 GMT
On Fri, Jan 14, 2011 at 8:51 PM, Aklin_81 <asdkl93@gmail.com> wrote:

> I just read that cassandra internally creates a md5 hash that is used
> for distributing the load by sending it to a node reponsible for the
> range within which that md5 hash falls, so even when we create
> sequential keys, their MD5 hash is not the same & hence they are not
> sent to same node. This was my misunderstanding of this concept.
> Sorry for creating confusions !
>
> So.. with this I think I will be able to use timeUUID as row key !?
>
>
Now, what really is the link between your corrected understanding and the
conclusion in the 2nd para? :-)

I miss the link you are using to come from para 1 to para 2.

Just because you use time UUID as the row key, there is no storage guarantee
because of that. Distribution of rows and ordering across nodes is only
based on what partitioner you are using - it is not (only) related to the
the type of the key.

May be I should just shut up now as I don't seem to be understanding you
requirement :-)







                                                      <#>
<#>
<#>       <#>

Mime
View raw message