go-tarantool icon indicating copy to clipboard operation
go-tarantool copied to clipboard

Add pool max fails logic

Open KaymeKaydex opened this issue 11 months ago • 1 comments

it is necessary to give and write the logic of behavior in case of unavailability of one of the nodes, I suggest using a similar approach with nginx and the max_fails setting in upstream

https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#upstream

KaymeKaydex avatar Dec 24 '24 07:12 KaymeKaydex

I think we can not give such a guarantee due to an asynchronous nature of the connector: you could push N requests to a connection and only than get an error.

oleg-jukovec avatar Dec 27 '24 14:12 oleg-jukovec

Yes, we discussed this idea and decided that it is enough on client side

KaymeKaydex avatar Apr 16 '25 08:04 KaymeKaydex