Re: Last Modified Time Series in cassandra

2013-01-03 Thread Pierre-Yves Ritschard
You can use an approach with two CFs The first one would be ExpiredCF | -- File = Key |-- Reversed(TimeUUID) (representing) last change In this CF, each entry is expired (after a day, an hour, whatever) EventualCF |-- File = Key |-- String Storing a file update for a key 'K' at a time

Re: Last Modified Time Series in cassandra

2012-12-23 Thread Ravikumar Govindarajan
I can append timeuuid on every update and resolve conflicts on read to support time series data on last-modified-time. Ex: -- ExampleCF | -- SomeKey = Key | -- TimeUUIDNew = Column-Name | -- PKID = Column-Value .. | -- TimeUUIDOld = Column

Re: Last Modified Time Series in cassandra

2012-12-21 Thread Andrey Ilinykh
You can select a column slice (specify time range wich for sure has last data), but ask cassandra to return only one column. It is latest one. To have the best performance use reversed sorting order. Andrey On Fri, Dec 21, 2012 at 6:40 AM, Ravikumar Govindarajan < ravikumar.govindara...@gmail.co