cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Black...@b3k.us>
Subject Re: indexing rows ordered by int
Date Mon, 16 Aug 2010 02:34:43 GMT
http://code.google.com/p/redis/

On Sat, Aug 14, 2010 at 11:51 PM, S Ahmed <sahmed1020@gmail.com> wrote:
> For CF that I need to perform range scans on, I create separate CF that have
> custom ordering.
> Say a CF holds comments on a story (like comments on a reddit or digg story
> post)
> So if I need to order comments by votes, it seems I have to re-index every
> time someone votes on a comment (or batch it every x minutes).
>
>
> Right now I think I have to pull all the comments into memory, then sort by
> votes, then re-write the index.
> Are there any best-practises for this type of index?

Mime
View raw message