-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set pool size #1679
Comments
Hey, maybe not related, but when we were migrating to cassandra and tinkering with the gocql client, we saw similar latency difference due to the client not properly discovering all nodes and using the same node as the coordinator node for all the requests, resulting in the requests getting queued on a single node and thus slowing down on the client side. Internally, everything seemed fine. |
Hi! Just recently scylladb#113 was merged to the ScyllaDB fork. It is not available in gocql/gocql yet. scylladb#114 is also related. |
How did u understand such problem? |
We had metrics which allowed us to see which nodes act as coordinators. Also we had query tracing set on gocql which confirmed it. |
Do you have any idea when is it going to be available in gocql? |
Hey,
I wanted to know how can we explicitly set max pool size in
gocql
?I mean changing the number of queries which will be run simultaneously.
We are having
150ms
avg response time in our monitoring in client side, but we are seeing24ms
avg read latency in Cassansra exporter. Can it be related to pool size?EDIT: I think that's the function in Java driver:
poolingOptions.setMaxRequestsPerConnection(num)
. What is the equivalent function ingocql
?The text was updated successfully, but these errors were encountered: