Make heavy loaded optimization configurable
Scylla Go Driver has a capability to avoid sending requests to an overloaded shard, instead sending the request on a different connection (at the same node).
This PR makes it possible to customize the parameters used to determine when this behavior would kick in.
Additionally, this PR fixes an incorrect inequality when comparing the number of streams.
This PR is also available at scylladb/gocql branch: heavy-loaded-optim and at scylladb/gocql tag: heavy-loaded-optim-v1.
Any updates?
@vladzcloudius do you think this one is still required? Is it still useful for anyone?
@vladzcloudius do you think this one is still required? Is it still useful for anyone?
Of course it's useful. It is going to be useful to every Scylla Driver user.
@avelanarius, let us know if you be able to finish PR, otherwise someone else should pick it up
it looks like this one is stuck, let's move it to https://github.com/scylladb/gocql/pull/211