cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Tolbert <>
Subject Re: Limit on number of connections to Cassandra
Date Fri, 08 Sep 2017 18:36:34 GMT

If I'm understanding the question correctly, as of C* 2.0.15 / 2.1.5 via
CASSANDRA-8086 <> you
can limit the maximum number of connections allowed to a C* node via

As far as the java driver goes, newer versions (i.e. 2.1.10+, 3.0.1+)
behave in such a way that as long as the driver can maintain at least one
connection to a node it considers it up.  If it can no longer maintain
connection it will not send requests to it and will try reconnecting per
the configured retry policy.  By default with C* 2.1+ (protocol version
V3+), the driver will only maintain one connection per host in local data
center, although you can tweak this using PoolingOptions


On Fri, Sep 8, 2017 at 1:27 PM techpyaasa . <> wrote:

> Hi
> Is there any limit on number of client connections to Cassandra just like
> MySQL etc., ?
> If YES, what is that & how can we set that?
> If NO , how will get to know that node has reached it's capacity serving
> client requests/over loaded?
> Using C*-2.1.17 , datastax java driver
> Thanks
> Techpyaasa

View raw message