Cassandra: The trouble with timestamps Cassandra uses timestamps to determine the most recent update...

Please Visit: http://ift.tt/1ajReyV

Cassandra: The trouble with timestamps
Cassandra uses timestamps to determine the most recent update to a column. The timestamp is provided by the client application. The latest timestamp always wins when requesting data, so if multiple client sessions update the same columns in a row concurrently, the most recent update is the one that readers see.
wall clocks
Logical clocks: Lamport clocks, Vector clocks
NTP, clock drift, leap seconds
http://ift.tt/1Eme6gH
http://ift.tt/1P8QruC

http://ift.tt/1dQeNqv
Cassandra breaks a row up into columns that can be updated independently.
timestamps are only used to pick a “winning” update within a single column or collection element. (A timestamp tie will also result in a deterministic, commutative result.) Lightweight transactions are available when linearizability is 
important.
http://ift.tt/1P8QruG


from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1P8QruI
via LifeLong Community

No comments:

Post a Comment