AWS Keyspace as managed cassandra for Temporal


It would be great to be able to use AWS keyspace for Temporal. I found some posts about it but I haven’t found a feature request to have the follow-up.


It is not possible until AWS Keyspaces adds support for LWT. See the Batch section from the Functional Differences: Amazon Keyspaces versus Apache Cassandra page.

Thank you Maxim.

It seems from that webpage that Keyspaces supports LWT actually:

“Amazon Keyspaces (for Apache Cassandra) fully supports compare and set functionality on INSERT and UPDATE commands, which are known as lightweight transactions (LWTs) in Apache Cassandra. As a serverless offering, Amazon Keyspaces (for Apache Cassandra) provides consistent performance at any scale, including for lightweight transactions. With Amazon Keyspaces, there is no performance penalty for using lightweight transactions.”

I’m pretty sure that Temporal needs conditional DELETE as well. I think there were other limitations that were showstoppers.

If anyone wants to make this work we would welcome a contribution.