cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <>
Subject Re: Model to store biggest score
Date Wed, 17 Mar 2010 16:20:54 GMT
On Wed, Mar 17, 2010 at 11:13 AM, Toby DiPasquale <> wrote:
> Couldn't you just use a supercolumn whose keys were the score and the
> subcolumns were username:true? Basically using the subcolumns as a
> list?

Sure, but that complicates getting the top N scores.  You'd have to use the
OrderedPartioner, so it's a bit less flexible.  Also, any time a score
changed you'd have to find the old one and remove them.


View raw message