You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was kind of wondering why redis-py is using a connection pool instead of using a single connection for all the requests to redis.
Since redis is single threaded a single connection would not impact how quickly this works. Opening a new connection for every redis query is problematic because you can run out of connections if there is a sudden burst of requests.
The text was updated successfully, but these errors were encountered:
Hello,
I was kind of wondering why redis-py is using a connection pool instead of using a single connection for all the requests to redis.
Since redis is single threaded a single connection would not impact how quickly this works. Opening a new connection for every redis query is problematic because you can run out of connections if there is a sudden burst of requests.
The text was updated successfully, but these errors were encountered: