Re: number of replicas per data center?

2015-01-20 Thread Robert Coli
On Sun, Jan 18, 2015 at 8:50 PM, Kevin Burton bur...@spinn3r.com wrote: Ah.. six replicas. At least its super inexpensive that way (sarcasm!) People with larger numbers of data centers do tend to reduce their replication factor per DC. It's all about how much consistency you want to risk,

Re: number of replicas per data center?

2015-01-19 Thread Laing, Michael
Since our workload is spread globally, we spread our nodes across AWS regions as well: 2 nodes per zone, 6 nodes per region (datacenter) (RF 3), 12 nodes total (except during upgrade migrations). We autodeploy into VPCs. If a region goes bad we can route all traffic to another and bring up a

Re: number of replicas per data center?

2015-01-19 Thread Eric Stevens
Ah.. six replicas. At least its super inexpensive that way (sarcasm!) Well it's up to you to decide what your data locality and fault tolerance requirements are. If you want to run two DC's, costs are going to increase since each DC has a full set of replicas within itself. But you get the

Re: number of replicas per data center?

2015-01-18 Thread Kevin Burton
Ah.. six replicas. At least its super inexpensive that way (sarcasm!) On Sun, Jan 18, 2015 at 8:14 PM, Jonathan Haddad j...@jonhaddad.com wrote: Sorry, I left out RF. Yes, I prefer 3 replicas in each datacenter, and that's pretty common. On Sun Jan 18 2015 at 8:02:12 PM Kevin Burton

Re: number of replicas per data center?

2015-01-18 Thread Kevin Burton
3 what? :-P replicas per datacenter or 3 data centers? So if you have 2 data centers you would have 6 total replicas with 3 local replicas per datacenter? On Sun, Jan 18, 2015 at 7:53 PM, Jonathan Haddad j...@jonhaddad.com wrote: Personally I wouldn't go 3 unless you have a good reason.

Re: number of replicas per data center?

2015-01-18 Thread Jonathan Haddad
Sorry, I left out RF. Yes, I prefer 3 replicas in each datacenter, and that's pretty common. On Sun Jan 18 2015 at 8:02:12 PM Kevin Burton bur...@spinn3r.com wrote: 3 what? :-P replicas per datacenter or 3 data centers? So if you have 2 data centers you would have 6 total replicas with 3

Re: number of replicas per data center?

2015-01-18 Thread Jonathan Haddad
Personally I wouldn't go 3 unless you have a good reason. On Sun Jan 18 2015 at 7:52:10 PM Kevin Burton bur...@spinn3r.com wrote: How do people normally setup multiple data center replication in terms of number of *local* replicas? So say you have two data centers, do you have 2 local

Re: number of replicas per data center?

2015-01-18 Thread Colin
I like to have 3 replicas across 3 racks in each datacenter as a rue of thumb. You can vary that, but it depends upon the use case, and the SLA's for latency. This can get a little complicated if you're using the cloud and automated deployment strategies as I like to use the same abstractions