The library gives redis: connection pool timeout when rps crosses over 1500. The default value for PoolTimeout is ReadTimeout + 1 which is equal to 4 seconds in my case. For instance, if I hit a particular microservice with 1800 rps for 10 seconds (That makes a total of 18K requests). The library gave redis timeout for around 5K requests. Is there any solution for this ? Apart from increasing the timeout ?
The library gives
redis: connection pool timeout
when rps crosses over 1500. The default value for PoolTimeout is ReadTimeout + 1 which is equal to 4 seconds in my case. For instance, if I hit a particular microservice with 1800 rps for 10 seconds (That makes a total of 18K requests). The library gave redis timeout for around 5K requests. Is there any solution for this ? Apart from increasing the timeout ?