Re: Is LOCAL_QUORUM as strong as QUORUM?

2011-06-22 Thread mcasandra
LOCAL_QUORUM gurantees consistency in the local data center only. Other replica nodes in the same DC and other DC not part of the QUORUM will be eventually consistent. If you want to ensure consistency accross DCs you can use EACH_QUORUM but keep in mind the latency involved assuming DCs are not

Re: Is LOCAL_QUORUM as strong as QUORUM?

2011-06-22 Thread AJ
On 6/22/2011 5:56 PM, mcasandra wrote: LOCAL_QUORUM gurantees consistency in the local data center only. Other replica nodes in the same DC and other DC not part of the QUORUM will be eventually consistent. If you want to ensure consistency accross DCs you can use EACH_QUORUM but keep in mind

Re: Is LOCAL_QUORUM as strong as QUORUM?

2011-06-22 Thread AJ
On 6/22/2011 6:50 PM, AJ wrote: On 6/22/2011 5:56 PM, mcasandra wrote: LOCAL_QUORUM gurantees consistency in the local data center only. Other replica nodes in the same DC and other DC not part of the QUORUM will be eventually consistent. If you want to ensure consistency accross DCs you can

Re: Is LOCAL_QUORUM as strong as QUORUM?

2011-06-22 Thread mcasandra
Well it depends on the requirements. If you use any combination of CL with EACH_QUORUM it means you are accepting the fact that you are ok if one of the DC is down. And in your scenario you care more about DCs being consistent even if writes were to fail. Also you are ok with network latency. I

Re: Is LOCAL_QUORUM as strong as QUORUM?

2011-06-22 Thread AJ
On 6/22/2011 8:20 PM, mcasandra wrote: Well it depends on the requirements. If you use any combination of CL with EACH_QUORUM it means you are accepting the fact that you are ok if one of the DC is down. And in your scenario you care more about DCs being consistent even if writes were to fail.