gocql icon indicating copy to clipboard operation
gocql copied to clipboard

Make heavy loaded optimization configurable

Open avelanarius opened this issue 3 years ago • 2 comments

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.

avelanarius avatar Feb 16 '23 20:02 avelanarius

This PR is also available at scylladb/gocql branch: heavy-loaded-optim and at scylladb/gocql tag: heavy-loaded-optim-v1.

avelanarius avatar Feb 17 '23 10:02 avelanarius

Any updates?

martin-sucha avatar Feb 22 '23 11:02 martin-sucha

@vladzcloudius do you think this one is still required? Is it still useful for anyone?

roydahan avatar Jun 03 '24 12:06 roydahan

@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.

vladzcloudius avatar Jun 03 '24 16:06 vladzcloudius

@avelanarius, let us know if you be able to finish PR, otherwise someone else should pick it up

dkropachev avatar Jun 13 '24 04:06 dkropachev

it looks like this one is stuck, let's move it to https://github.com/scylladb/gocql/pull/211

dkropachev avatar Jul 06 '24 03:07 dkropachev