Skip to content

redis sentinel creates new connections for each redis query #9

Open
@mzealey

Description

@mzealey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions