Triggers and functions
Trigger and execute JavaScript functions in the Redis process
Redis Stack | Redis Community Edition | Redis Enterprise Software | Redis Cloud | Redis Community Edition | Redis Enterprise for Kubernetes | clients |
---|
The triggers and functions feature of Redis Stack allows running JavaScript functions inside Redis. These functions can be executed on-demand, by an event-driven trigger, or by a stream processing trigger.
Quick links
Primary features
- JavaScript engine for functions
- On-demand functions
- Keyspace triggers
- Stream triggers
- Async handling of functions
- Read data from across the cluster
Cluster support
Triggers and functions support deployment and execution of functions across a cluster. Functions are executed on the correct shard based on the key that is changed or read functions can be executed on all to return a correct view of the data.