Re: Which Topology fits best ?

2015-01-26 Thread SEGALIS Morgan
Thank you both for your precious advices !

2015-01-26 12:30 GMT+01:00 mck m...@apache.org:


  However I guess it can be easily changed ?


  that's correct.




-- 
Morgan SEGALIS


Re: Which Topology fits best ?

2015-01-26 Thread SEGALIS Morgan
However I guess it can be easily changed ? doesn' it ?

2015-01-25 20:18 GMT+01:00 mck m...@apache.org:

 NetworkTopogolyStrategy gives you a better horizon and more flexibility
 as you scale out, at least once you've gone past small cluster problems
 like wanting RF=3 in a 4 node two dc cluster.

 IMO I'd go with DC:1,DC2:1.
 ~mck




-- 
Morgan SEGALIS


Re: Which Topology fits best ?

2015-01-26 Thread mck

 However I guess it can be easily changed ? 


 that's correct.


Re: Which Topology fits best ?

2015-01-25 Thread Eric Stevens
As far as I know they're effectively the same.  NetworkTopologyStrategy is
useful when you want to set up separate RF per DC, such as if you want to
have an analytics DC with lower RF to save money.

On Sun, Jan 25, 2015 at 8:01 AM, SEGALIS Morgan msega...@gmail.com wrote:

 Hi everyone,
 I need one more time your precious advice.

 I would like to create a 2 nodes cluster, each node are on a different
 DataCenter, but with the same provider, ping between the 2 servers is fast:
 ~0,5 ms, and the bandwidth is great: ~ 1GB/s

 is, org.apache.cassandra.locator.SimpleStrategy with replication factor
 set to 2 is a good practice ?

 Or should I org.apache.cassandra.locator.NetworkTopologyStrategy with
 DC1:1 and DC2:1
 (if this is the correct way to use NetworkTopologyStrategy, not sure at
 100%)


 Thank you for your time.



Re: Which Topology fits best ?

2015-01-25 Thread mck
NetworkTopogolyStrategy gives you a better horizon and more flexibility
as you scale out, at least once you've gone past small cluster problems
like wanting RF=3 in a 4 node two dc cluster. 

IMO I'd go with DC:1,DC2:1.
~mck