Today, we are announcing that Amazon ElastiCache Serverless now supports the WATCH command for same-slot transactions, helping developers build more reliable applications with improved data consistency in high-concurrency scenarios. With this launch, the WATCH command makes transactions conditional, ensuring they execute only when monitored keys remain unchanged.
For ElastiCache Serverless, the WATCH command works with transactions that operate on keys within the same hash slot as the watched keys. When 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.
WATCH command support is available in all AWS regions where ElastiCache Serverless is supported at no additional cost. To get started, create transactions using the WATCH command through your preferred client library. To learn more about conditional transactions and the WATCH command, see the ElastiCache Serverless documentation, and the Valkey transactions documentation.
Categories: general:products/amazon-elasticache,marketing:marchitecture/databases
Source: Amazon Web Services
Latest Posts
- (Updated) Microsoft 365 Copilot: Steer your presentation length, tone, style, and images when creating with Copilot [MC1185911]
![(Updated) Microsoft 365 Copilot: Steer your presentation length, tone, style, and images when creating with Copilot [MC1185911] 2 pexels pixabay 277574](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Trust Indicators – a new way of representing users outside your organization [MC1162276]
![(Updated) Microsoft Teams: Trust Indicators – a new way of representing users outside your organization [MC1162276] 3 snails 2983235 1280](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Rate my call feedback experience update in Microsoft Teams [MC1183608]
![(Updated) Rate my call feedback experience update in Microsoft Teams [MC1183608] 4 woman 7379683 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Collaborative Notes in Chats [MC1148543]
![(Updated) Microsoft Teams: Collaborative Notes in Chats [MC1148543] 5 pexels mikhail nilov 9159279](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft 365 Copilot: Steer your presentation length, tone, style, and images when creating with Copilot [MC1185911] 2 pexels pixabay 277574](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-277574-150x150.webp)
![(Updated) Microsoft Teams: Trust Indicators – a new way of representing users outside your organization [MC1162276] 3 snails 2983235 1280](https://mwpro.co.uk/wp-content/uploads/2025/06/snails-2983235_1280-150x150.webp)
![(Updated) Rate my call feedback experience update in Microsoft Teams [MC1183608] 4 woman 7379683 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/woman-7379683_1920-150x150.webp)
![(Updated) Microsoft Teams: Collaborative Notes in Chats [MC1148543] 5 pexels mikhail nilov 9159279](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-mikhail-nilov-9159279-150x150.webp)
![(Updated) New features coming to Copilot Notebooks for Frontier users [MC1187387] 7 (Updated) New features coming to Copilot Notebooks for Frontier users [MC1187387]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-mikebirdy-417826-150x150.webp)