Skip to content

How to set pool size #1679

@mojixcoder

Description

@mojixcoder

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 seeing 24ms 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 in gocql?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions