'Cassandra execute_concurrent network call
def execute_concurrent(session, statements_and_parameters, concurrency=100, raise_on_first_error=True, results_generator=False):
Above is the signature of execute_concurrent method in Cassandra. I want to understand, how many network calls are made while reading 10 different partition values from the same table(specifically in the case of results_generator=False). Like will the application make 10 separate calls parallely to Cassandra and then wait for the 10 results OR will it be the case where application will send all the 10 partition values in a single network call to Cassandra and Cassandra will return all the 10 results in a single network call.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
