General availability: Azure Cache for Redis triggers and bindings for Azure Functions

Azure Updates

Discussionpowered by zap.ms

Published

May 21, 2024

Status

Launched

Timeline

  • May 2024
    General Availability

Product

Azure Cache for Redis

Tag

Features
Microsoft Build

Category

Databases

Description

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. 

Learn more.