In this configuration, one Redis hash is created per feature. It maps entities to their feature value. A metadata hash is also stored in Redis that allows Redis to maintain its own state. This is used in conjunction with Featureform's Etcd service to achieve consistency between the two.
First we have to add a declarative Redis configuration in Python. In the following example, only name is required, but the other parameters are available.
import featureform as ff
name = "redis",
description = "Example inference store",
team = "Featureform",
host = "0.0.0.0",
port = 6379,
password = "",
db = 0,
Once our config file is complete, we can apply it to our Featureform deployment
featureform apply redis_config.py --host $FEATUREFORM_HOST