Skip to content
New issue

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

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

Already on GitHub? # to your account

redis sentinel creates new connections for each redis query #9

Open
mzealey opened this issue Nov 12, 2024 · 0 comments
Open

redis sentinel creates new connections for each redis query #9

mzealey opened this issue Nov 12, 2024 · 0 comments

Comments

@mzealey
Copy link
Contributor

mzealey commented Nov 12, 2024

Per redis/redis-py#3008 (comment) it seems that moya/service/redis.py / redis() when sentinel is in use is creating a new tcp connection per redis command which isn't great. Figure out a way to make a pool for readonly and a pool for normal that checks with sentinel if there are issues

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

No branches or pull requests

1 participant