Yes, sort by anything providing time ordering like TimeUUID and then
use get_slice with reversed=True to get the most recent.
On Mon, Nov 23, 2009 at 4:14 AM, Kristian Lunde wrote:
> Hi Ian
> Thanks for your answer, I'll have a look at redis. I think it should be
> possible doing this in cassandr
Hi Ian
Thanks for your answer, I'll have a look at redis. I think it should
be possible doing this in cassandra if I sort the columns by timeUUID.
Kristian
On 22 Nov 2009, at 23:11, Ian Holsman wrote:
One of the problems you may face is that the common operation is
'get last X'.
You might
One of the problems you may face is that the common operation is 'get
last X'.
You might want to look at redis as an alternative as it supports this
operation natively.
I'm sure the Cassandra experts can help with your schema to optimize
it as well
---
Sent from my phone
Ian Holsman - 703
I am currently building a social network application where one of the
important features is a feed / wall (Something similar to the Facebook
wall). We will have several feeds, one for each profile and one for
each group and so on. I have looked into using Cassandra for storing
this, but I