Hello, I don't know what pelops is. I'm not sure why you want two clusters. I would have two clusters if I want to have data stored on totally separate servers for perhaps security reasons.
If you are going to have the servers in one location then you might as well have one cluster. You'll have the maximum aggregate io of all the servers. If you're thinking of doing analytics as well then you can create two virtual datacentres. One for realtime inserts and reads and the second for analytics. You could have have and 16 /8 server split. Obviously you'll have to work out what the optimum split is for your workload. Not sure if I've answered your question... On 11 Apr 2013 18:51, "Raihan Jamal" <jamalrai...@gmail.com> wrote: > Folks, Any thoughts on this? I am still in the learning process. So any > guidance will be of great help. > > > > > > *Raihan Jamal* > > > On Wed, Apr 10, 2013 at 10:39 PM, Raihan Jamal <jamalrai...@gmail.com>wrote: > >> I have started working on a project in which I am using `Cassandra >> database`. >> >> Our production DBA's have setup `two cluster` and each cluster will have >> `12 nodes`. >> >> I will be using `Pelops client` to read the data from Cassandra database. >> Now I am thinking what's the best way to create `Cluster` using `Pelops >> client` like how many nodes I should add while creating cluster? >> >> My understanding was to create the cluster with all the `24 nodes` as I >> will be having two cluster each with 12 nodes? This is the right approach? >> >> >> *If not, then how we decide what nodes (from each cluster) I should add >> while creating the cluster using Pelops client? >> * >> >> String[] nodes = cfg.getStringArray("cassandra.servers"); >> >> int port = cfg.getInt("cassandra.port"); >> >> boolean dynamicND = true; // dynamic node discovery >> >> Config casconf = new Config(port, true, 0); >> >> Cluster cluster = new Cluster(nodes, casconf, dynamicND); >> >> Pelops.addPool(Const.CASSANDRA_POOL, cluster, Const.CASSANDRA_KS); >> >> >> Can anyone help me out with this? >> >> Any help will be appreciated. >> >> >> ** >> > >