-
Notifications
You must be signed in to change notification settings - Fork 43
Description
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.