cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Anuff ...@anuff.com>
Subject Re: Data Modeling Conundrum
Date Sat, 08 May 2010 17:00:06 GMT
Is there a reason you can't use time-based guids?  Those would be sorted the
way you wanted.

On Fri, May 7, 2010 at 8:31 PM, William Ashley <washley@gmail.com> wrote:

>
> Hopefully I’ve sufficiently explained what I’m trying to do. Now on to
> solving this problem in Cassandra. I’ve been trying to find a way that
> allows both of the above operations to be performed efficiently. Updates are
> a breeze with a structure like this:
>
> // Row key is userId
> 12345 : {
>  // Column name is guid
>  ‘256fb890-5a4b-11df-a08a-0800200c9a66’ : {
>    // Column timestamp is last time guid was seen
>    timestamp : 387587235233
>  }
> }
>
>

Mime
View raw message