skip to Main Content

How to instantiate a python connection pool from cloud run with redis.StrictRedis to connect securely to google cloud Redis (Memstore)

From a cloud run service, I successfully create a connection to google cloud Redis with: redis_webhooks = redis.StrictRedis( host=redis_webhooks_host, port=redis_webhooks_port, password=redis_webhooks_authstring, ssl=True, db=1, ssl_cert_reqs="required", ssl_ca_certs=f"/tmp/{redis_webhooks_server_ca_pem_name}", ) I am now trying to instantiate a connection pool, for better performance, I am…

VIEW QUESTION
Back To Top
Search