Skip to content

RESP 2/3 should be part of goredis.Options #2152

Closed
@filipecosta90

Description

@filipecosta90

Currently, the v9 go-redis version is always trying to use RESP3 and in case of failure, it will fall back to resp2.
However, even on scenarios that the server supports resp 3, there are some considerations ( performance for example, or controlling the reply type ) in which we want to be able to chose.
Furthermore, in the event of old server/servers that don't support it, it's expensive to continuously pay the network and CPU for something that the user knows beforehand will fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions