Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use single connection instead of connection pool #3304

Open
NikolaBorisov opened this issue Jul 2, 2024 · 0 comments
Open

Use single connection instead of connection pool #3304

NikolaBorisov opened this issue Jul 2, 2024 · 0 comments

Comments

@NikolaBorisov
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant