We updated Redis Enterprise Cloud with Redis Open Source 7.0 compatible features, including Redis functions and Pub/Sub ACL changes, in a limited release.
Developers love Redis’ simplicity and ease of use, and we are eager to continue extending server-side processing functionality for their applications. Redis Open Source version 7.0 was made generally available nearly a year ago, and it was the first major release of Redis since 2019. One significant change to improve server-side programmability is Redis functions.
Today, we are announcing the availability of Redis functions within Redis Enterprise Cloud.
This first phase is a limited release. These updates are only available on Amazon Web Services (AWS) and Google Cloud Platform (GCP) for Fixed and Free subscriptions. The regions supported, as of today, are GCP Tokyo and AWS Singapore.
The most significant new feature that was introduced is Redis functions, an API for managing code to be executed on the server. This feature, which became available in Redis OSS 7.0, superseded the use of EVAL in prior Redis versions.
As part of this limited release, we now support Redis functions in Redis Enterprise Cloud.
Redis functions have several advantages over scripting with Lua. As our developers know, Lua has limitations.
First, with Lua, all client application instances must maintain a copy of all scripts in order to guarantee consistency. That means that the developer needs to create some mechanism that applies script updates to all of the application’s instances.
Second, scripts are ephemeral, and a script can’t call another script. This makes it nearly impossible to share or reuse code between scripts, short of client-side preprocessing.
Functions solve these problems. They serve as a single source of truth of the executable logic and they operate as first-class citizens in Redis. Functions are also persisted to the append-only file (AOF) and replicated from primary (formerly known as ‘master’) to replicas, so they are as durable as the data itself.
To learn more about Redis functions and how you can take advantage of them, consult the documentation.
Another important change is the default ACL access to Pub/Sub channels.
ACLs for Pub/Sub channels were originally introduced as part of Redis OSS 6.2, with permissive access by default. That meant that if you didn’t explicitly block access in your Pub/Sub ACL, the Pub/Sub channel remained accessible.
Starting with Redis OSS 7.0, the default access is more restrictive in response to developer feedback. Unless you explicitly allow access in your Pub/Sub ACL, the Pub/Sub channel is not accessible.
To ease the upgrade process from version 6.x to 7.x, Redis Enterprise Cloud continues to support the permissive approach by default. We provide additional support within the ACL Rule Builder UI to allow you to adapt to this change at your own pace.
You are not required to take immediate action when upgrading your applications from Redis 6.x to Redis 7.x. However, if you use ACLs and Pub/Sub channels, we recommend that you make your Pub/Sub ACL rules explicit for increased security. For more, see the Redis Cloud ACLs documentation.
We have additional information about the Redis OSS 7.0 changes that are relevant to Redis Enterprise Cloud, and you may want to consult the complete Redis OSS 7.0 release notes.
If you already have an account with Redis Cloud, create a new Fixed subscription.
When you get to the vendor/region selection section, you’ll notice a new toggle for Redis 7.0 preview. Selecting it narrows the region list to regions that support Redis 7.0. (We will gradually add more regions to the list.)
All the databases you create with this subscription will be compatible with the features and capabilities of Redis OSS 7.0.
Don’t have an account yet? No worries! Create a new free account, and you can choose Redis 7.0 there as well.
Need additional help? We’re here for you. Contact us at firstname.lastname@example.org.
We will expand the rollout and availability of Redis 7.0 commands, functions, and capabilities to new regions.
We are excited about what possibilities this unlocks for developers! Stay tuned.
By continuing to use this site, you consent to our updated privacy agreement. You can change your cookie settings at any time but parts of our site will not function correctly without them.