My application is configured as follows:
@Bean
public RedisConnectionFactory redisConnectionFactory() {
PoolConfig poolConfig = new PoolConfig(10, 200);// maxPoolSize=10
return connectionFactory().redisConnectionFactory("REDISCLOUD", new PooledServiceConnectorConfig(poolConfig));
}
The entry plan for REDISCLOUD indicates a maximum of 10 Redis connections.
However, I have two running dynos at the moment and I might have more than two in the future. Does that mean that my app can consumes 2 dynos * 10 connections = 20 Redis connections at the moment?
If that is the case that's an issue and I am not sure how to configure my pool for instance if I increase the number of running dynos...
By the way the issue is the same with relational database connectors...
Can someone please advise?