Query on CPP driver

24 views
Skip to first unread message

Deepti Sharma

unread,
Mar 21, 2023, 7:37:12 AM3/21/23
to DataStax C++ Driver for Apache Cassandra User Mailing List

We have multithread application where we are using DataStax CPP Driver version (2.16.2) to connect with apache Cassandra Server version(2.2.8).

When IO thread has been set to 5 using API cass_cluster_set_num_threads_io() . 

We have observed that while inserting a heavy data we are getting below error from the driver.

The request queue is full 

This problem gets solved if we increased the IO Thread to 10. 

We have some query regarding this issue. 

       1. We want to understand the relation between IO Thread and queue and its queue size.

       2. It would be great if we get mapping between IO Thread and queue size.

          And we would also like to understand that when we set queue size then it will be set on cluster level or per IO threads level. 

      3. Is there any limitation on setting max values of IO threads using API cass_cluster_set_num_threads_io().


Regards

Deepti

Deepti Sharma

unread,
Mar 23, 2023, 12:50:38 AM3/23/23
to DataStax C++ Driver for Apache Cassandra User Mailing List, Deepti Sharma
Hello Team,

Anyone can help here.

Regards
Deepti

Deepti Sharma

unread,
Mar 29, 2023, 1:03:22 PM3/29/23
to DataStax C++ Driver for Apache Cassandra User Mailing List, Deepti Sharma
Hello Team,

Please help here.

Regards
Deepti

Reply all
Reply to author
Forward
0 new messages