WithProtocolVersion#V3
or above, there are up to 32768 requests per connection, and the pool defaults to a fixed size of 1. You will typically raise the maximum capacity by allowing more simultaneous requests per connection (setMaxRequestsPerConnection(HostDistance, int)
).
setMaxRequestsPerConnection(HostDistance, int)
) for each session.And if it is OS or hardware related please share how to find it with some example. From the point of cassandra node,how many simultaneous request a node can handle
what will be the ideal value of (setMaxRequestsPerConnection(HostDistance, int))
--
Olivier Michallat
Driver & tools engineer, DataStax
--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-user+unsubscribe@lists.datastax.com.