If you have enabled TLS (SSL) on your database, you will need to configure your client accordingly. After clicking the ‘Connect’ button, you can copy the code necessary for your client. Below, you can also find example client configurations with TLS enabled. If you are using a Redis client not listed here, please refer to your client’s documentation.
Because upstash-redis is HTTP based, we recommend it for Serverless functions. Other TCP based clients can cause connection problems in highly concurrent use cases.
Library: upstash-redis
Example:
Library: ioredis
Example:
Library: redis-py
Example:
Library: jedis
Example:
Library: redigo
Example:
If you have enabled TLS (SSL) on your database, you will need to configure your client accordingly. After clicking the ‘Connect’ button, you can copy the code necessary for your client. Below, you can also find example client configurations with TLS enabled. If you are using a Redis client not listed here, please refer to your client’s documentation.
Because upstash-redis is HTTP based, we recommend it for Serverless functions. Other TCP based clients can cause connection problems in highly concurrent use cases.
Library: upstash-redis
Example:
Library: ioredis
Example:
Library: redis-py
Example:
Library: jedis
Example:
Library: redigo
Example: