Azure Cache for Redis now has trigger and binding support for Azure Functions, opening multitudes of possibilities for serverless app development. With this integration, an Azure Function can be triggered on a variety of Redis data types, including pub/sub channels, lists, and streams. Keyspace notifications and keyevent notifications are also supported, meaning that you can trigger Azure Functions when a certain key is changed or when a chosen command is used.
With Azure Functions integration, Azure Cache for Redis can now be used as a write-behind or write-through cache, automatically writing new values in the cache to a backing database. Likewise, Azure Functions triggers can be used to keep a cache consistent with a database or storage account by triggering updates when a key expires or is updated.