Posted On: Apr 25, 2023

Amazon Keyspaces (for Apache Cassandra), a scalable, serverless, highly available, and fully managed Apache Cassandra-compatible database service.

Today, Amazon Keyspaces added support for client-side timestamps and the WRITETIME function. Client-side timestamps are Cassandra-compatible timestamps that are persisted for each cell in your table. The WRITETIME function returns the timestamp that the column was written to the database. You can use client-side timestamps for conflict resolution by letting applications determine the order of writes. For example, when multiple applications make updates to the same data or when write operations arrive out of order due to variable network latency, Amazon Keyspaces uses these timestamps to process the writes based on the write timestamps of individual cells within rows.

Client-side timestamps and the WRITETIME function are available in all Amazon Web Services regions Amazon Keyspaces is available in, including the Amazon Web Services China (Beijing) Region, operated by Sinnet and the Amazon Web Services China (Ningxia) Region, operated by NWCD.