Redis is an in-memory data structure store, used as a distributed, in-memory key–value database, cache and message broker, with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, etc.
|Sync Type||Description||Supported Sync Modes||API Reference|
|Redis Cache||Sync data from any source to a Redis cache database||Upsert, Update||Redis Cache|
Connect to Redis
Go to the Destinations overview page and click the Add destination button. Select Redis and click Continue. You can then authenticate Hightouch to Redis with your hostname and port. If your Redis instance has authentication credentials, you can also input a username and password.
Once you've set up your Redis destination and have a model to pull data from, you can set up your sync configuration to begin syncing data. Go to the Syncs overview page and click the Add sync button to begin. Then, select the relevant model and the Redis destination you want to sync to.
Syncing to a cache database
To match rows from your model to records in Redis, you need to select the model column that contains values that match the Key field in Redis.
You can sync columns from your source to Redis to custom fields. If you send data for a custom field that doesn't exist, Hightouch adds the field and automatically detects its type.
The delete behavior you select dictates what to do when a row no longer appears in your model's query results. You have the following options:
|Do nothing||Keep the key in Redis with its fields untouched|
|Clear||Keep the key in Redis, but set mapped fields to empty|
|Delete||Remove the key from Redis|
Tips and troubleshooting
To date, our customers haven't experienced any errors while using this destination. If you run into any issues, please don't hesitate to . We're here to help.
Hightouch provides complete visibility into the API calls made during each of your sync runs. We recommend reading our article on debugging tips and tricks to learn more.
Hightouch can alert you of sync issues via Slack, PagerDuty, SMS, or email. For details, please visit our article on alerting.