Re: Cassandra cpp driver call to local cassandra colo

2014-03-05 Thread Michael Shuler
On 03/04/2014 12:28 PM, Check Peck wrote: I guess you are not right.. Cluster.builder.addContactPoint(...) will add nodes in the connection pool.. And it will discover all the other nodes in the connection pool automatically.. To filter out nodes only for local colo we need to use to different se

Re: Cassandra cpp driver call to local cassandra colo

2014-03-04 Thread Check Peck
I guess you are not right.. Cluster.builder.addContactPoint(...) will add nodes in the connection pool.. And it will discover all the other nodes in the connection pool automatically.. To filter out nodes only for local colo we need to use to different settings in Java driver.. There should be sim

Re: Cassandra cpp driver call to local cassandra colo

2014-03-04 Thread Manoj Khangaonkar
Hi , Your client/application will connect to one of the nodes from the nodes you tell it to connect. In the java driver this is done by calling Cluster.builder.addContactPoint(...). I suppose the C++ driver will have similar class method. For the app in DC1 provide only nodes in DC1 as contact poi

Cassandra cpp driver call to local cassandra colo

2014-03-04 Thread Check Peck
I have couple of question on Datastax C++ driver. We have 36 nodes Cassandra cluster. 12 nodes in DC1, 12 nodes in DC2, 12 nodes in DC3 datacenters. And our application code is also in three datacenters- 11 node in DC1, 11 node in DC2, 11 node in DC3 datacenter. So my question is if the applicat