Skip to content

Support short lived connections #269

@mzimbres

Description

@mzimbres

To implement sentinel based failover we need better support for short lived connections. At the moment there is no way to launch async_exec and async_run in parallel and cancel when async_exec completes, see this comment.

Also, short lived connections don't need health-check but disabling them here does not prevent their operations from being started here which should be avoided if possible to improve compilation times.

Moreover, for should lived connections it should be possible to send both the HELLO command and the actual request in a single request object, this is currently not possible because the resp3-handshake can't be deactivated here.

We might be able to address these two points by adding an async_run_exec function that only launches the request and the read and write operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions