> Always specify some constant value for timestamp. Only 1st insertion with that
> timestamp will succeed. Others will be ignored, because will be considered
> duplicates by cassandra.

Just be aware that this limits you in several ways in terms of your
data model. For examle, if you ever need to remove a value and then
re-write it, you have to up the timestamp on your inserts in order for
it to be re-inserted. Same thing if you sometimes need to actually
overwrite said value in some different context than the concurrent
writer case you're trying to solve.

-- 
/ Peter Schuller

Reply via email to