go-tarantool
go-tarantool copied to clipboard
Add pool max fails logic
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
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.
Yes, we discussed this idea and decided that it is enough on client side