Re: Implemeting a LRU in Cassandra

2011-02-10 Thread Utku Can Topçu
Dear Aaron, Thank you for your suggestion. I'll be evaluating it. Since all my other use cases are implemented in Cassandra, now I had the question in my mind, if it was possible to implement the sorted set in Cassandra :) The problem here is, in a few hours I might be resolving more than 2M pag

Re: Implemeting a LRU in Cassandra

2011-02-10 Thread aaron morton
FWIW and depending on the size of data, I would use consider using sorted sets in redis http://redis.io/commands#sorted_set Where the member is the page url and the weight is time stamp, use ZRANGE to get back the top 1,000 entries in the set. Would that work for you? Aaron On 9 Feb 2011, a