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
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
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