Report this

What is the reason for this report?

Redis client: custom connections manager

Posted on June 30, 2017

I am using spring’s JedisConnectionFactory to manage and connect to Redis from my Java application. JedisConnectionFactory internally uses JedisPool and GenericObjectPool.

Our ask is to create new Redis connections as the pool size exhausts or crosses a certain threshold.

The latest versions of GenericObjectPool does not have option of growing pool size dynamically. I also could not find a way to pass a custom object pool in Jedis.

Is there a way to do this at client side using Jedis ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.