I am using Datastax python driver version:3.23
Cassandra version: DSE version 5.1.16
The output from cqlsh gives the following:
[cqlsh 5.0.1 | Cassandra 3.11.3.5116 | DSE 5.1.16 | CQL spec 3.4.4 | Nativeprotocol v4]
cluster = Cluster(['X.X.X.X'],port=9042,auth_provider=provider,protocol_version=4)
max_requests = cluster.get_max_requests_per_connection(0)
max_connections = cluster.get_max_connections_per_host(0)
print(max_connections)
print(max_requests)
Output:-
8 100
Based on the DataStax documentation max_request_per_host in v4
should be 32,786.
Not sure where is the problem.