Search documentation...

K
ChangelogBook a demoSign up

Redis

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.

Supported syncing

Sync TypeDescriptionSupported Sync ModesAPI Reference
Redis CacheSync data from any source to a Redis cache databaseUpsert, UpdateRedis 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.

SSH tunneling

Hightouch can connect directly to Redis over the public internet or via an SSH tunnel. Since data is encrypted in transit via TLS, a direct connection is suitable for most use cases. You may need to set up a tunnel if your Redis instance is on a private network or virtual private cloud (VPC).

Hightouch supports both standard and reverse SSH tunnels. To learn more about SSH tunneling, refer to Hightouch's tunneling documentation.

Sync configuration

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

Hightouch supports the HSET and SET commands when syncing data Redis.

Record matching

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.

Field mapping

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.

Delete behavior

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:

BehaviorDescription
Do nothingKeep the key in Redis with its fields untouched
ClearKeep the key in Redis, but set mapped fields to empty
DeleteRemove the key from Redis

Tips and troubleshooting

Common errors

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.

Live debugger

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.

Sync alerts

Hightouch can alert you of sync issues via Slack, PagerDuty, SMS, or email. For details, please visit our article on alerting.

Ready to get started?

Jump right in or a book a demo. Your first destination is always free.

Book a demoSign upBook a demo

Need help?

Our team is relentlessly focused on your success. Don't hesitate to reach out!

Feature requests?

We'd love to hear your suggestions for integrations and other features.

Last updated: Nov 28, 2023

On this page

Supported syncingConnect to RedisSSH tunnelingSync configurationSyncing to a cache databaseTips and troubleshootingCommon errorsLive debuggerSync alerts

Was this page helpful?