The DCS (Distributed Cache Service) supports now Redis® 7, which includes a lot of improvements in almost every one of its aspects. The most noticeable are Functions and command introspection. Redis® Functions is a new API to manage code execution on the DCS Instance. It aims to replace the use of EVAL with prior versions. Additionally, the new version brings nearly 50 new commands and features, expanding its functionality and supporting evolving use cases. For instance, the bitmap, list, set, sorted set, and stream data types have been enriched with new operations tailored to their specific data management scenarios. Additionally, caching semantics have been extended to include existential and comparative modifiers, offering more flexibility in implementing advanced caching strategies.
In addition, the new version includes substantial performance enhancements for sorted sets, resulting in performance gains that range from 30% to 100% compared to earlier versions. This optimization allows faster and more efficient handling of ranked data, enabling smoother real-time leaderboard updates. Also, the ID creation for Streams has been optimized, reducing CPU cycles by approximately 20%, leading to better performance during high-frequency stream write operations.
New commands highlights:
- WAITAOF: Blocks the client until a specified number of instances have synced all previous write commands to the AOF.
- CLIENT SETINFO: Allows client libraries to report their name and version.
- CLIENT NO-TOUCH: Enables clients to run commands without affecting the LRU/LFU of keys.
Enhanced commands highlights:
- ZZRANK and ZREVRANK: Added WITHSCORE option to return the score along with the rank.
- XADD: New parameters allow message IDs to be generated at a specific millisecond.
- XGROUP CREATE: ENTRIESREAD parameter added to set and enable entries-read and lag features.
See more details Documentation.
In addition, we now offer a new self-service functionality that allows you to reset your instance password on your own. This feature is accompanied by a new IAM permission, dcs:instance:resetAuthInfo, which provides fine-grained control over who is authorized to perform password resets. Every reset operation is also recorded by CTS for auditing purposes. Furthermore, a new API function supporting this feature has been released.
More details in Resetting passwords and Reset Password API.