incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Svc <>
Subject conditional update or insert
Date Fri, 01 Feb 2013 18:51:19 GMT
Hi All,

On each row I have a column which maintains the timestamp like
"lastUpdated" etc.

While inserting such row I want to make sure that the row should be only
updated if the lastUpdated is older than the new one I am inserting.

One way to do this is -

Read the record first check the timestamp if newer is latest then update.

Since I have higher volume of read and writes load. This additional read
will add to it.

Any alternative to achieve this?


View raw message