Amazon ElastiCache Serverless now supports same-slot WATCH command

Published
December 10, 2025
https://aws.amazon.com/about-aws/whats-new/2025/12/amazon-elasticache-serverless-same-slot-watch-command

Amazon ElastiCache Serverless Updates

Amazon ElastiCache Serverless now supports the WATCH command for same-slot transactions, enhancing data consistency in high-concurrency scenarios. This feature allows developers to build more reliable applications by making transactions conditional, ensuring they execute only when monitored keys remain unchanged.

The WATCH command works with transactions that operate on keys within the same hash slot as the watched keys. If applications attempt to watch keys that are not in the same hash slot, they'll receive a CROSSSLOT error. Developers can control key placement by using hash tags in their key names to ensure keys hash to the same slot. The transaction will also be aborted when ElastiCache Serverless cannot guarantee the state of watched keys.

What to do

Source: AWS release notes




If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.

Follow our blog

Get the latest insights and advice on AWS services from our experts.

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.