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

Migration to aioredis 2.0.0 #3

Closed
mariaines opened this issue Aug 26, 2021 · 4 comments
Closed

Migration to aioredis 2.0.0 #3

mariaines opened this issue Aug 26, 2021 · 4 comments

Comments

@mariaines
Copy link

mariaines commented Aug 26, 2021

Hi, are there any plans to migrate to aioredis 2.0.0?

I am running into occasional ConnectionResetError and this issue suggests 2.0.0 might fix it (maybe...)

@Tiergarten
Copy link

+1

@mariaines How did you end up proceeding? redis-py-cluster looks like a potential alternative but its not asyncio.

@mariaines
Copy link
Author

We are still on this library, the ConnectionResetError are infrequent enough that it's been fine for us. That said we are still thinking about just moving to redis-py / redis-py-cluster and accepting the lack of async.

@DriverX
Copy link
Owner

DriverX commented Nov 15, 2021

Are you sure the problem is with aioredis and not with the number of connections on redis node? Check connected_clients and rejected_connections in INFO command output. Also check maxclients config option if connected_clients near on this limit. Also make sure you have enough network resources (number of ports, limits, TCP_NOWAIT states, etc.) on the client host and redis itself.

ConnectionResetError usually means network level problems. this is in fact receive of the RST packet.

@DriverX
Copy link
Owner

DriverX commented Nov 15, 2021

And answer the question. There are no plans to migrate to aioredis>=2.

@DriverX DriverX closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2022
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

3 participants