Re: Replication factor 2, consistency and failover

2012-09-12 Thread Sergey Tryuber
Aaron, thank you! Your message was exactly what we wanted to see: that we didn't miss something critical. We'll share our Astyanax patch in the future. On 10 September 2012 03:44, aaron morton wrote: > In general we want to achieve strong consistency. > > You need to have R + W > N > > LOCAL_QUO

Re: Replication factor 2, consistency and failover

2012-09-09 Thread aaron morton
> In general we want to achieve strong consistency. You need to have R + W > N > LOCAL_QUORUM and reads with ONE. Gives you 2 + 1 > 2 when you use it. When you drop back to ONE / ONE you no longer have strong consistency. > may be advise on how to improve it. Sounds like you know how to impr

Replication factor 2, consistency and failover

2012-09-09 Thread Sergey Tryuber
Hi We have to use Cassandra with RF=2 (don't ask why...). There are two datacenters (RF=2 in each datacenter). Also we use Astyanax as a client library. In general we want to achieve strong consistency. Read performance is important for us, that's why we perform writes with LOCAL_QUORUM and reads