incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Williams <de...@fyrie.net>
Subject Re: how to read only from local DC without LOCAL_QUORUM?
Date Mon, 25 Feb 2013 17:28:46 GMT
You should be able to use LOCAL_QUORUM with RF=1. Did you try it and get
some error?


On Mon, Feb 25, 2013 at 10:01 AM, Igor <igor@4friends.od.ua> wrote:

> Hello!
>
> We have 1.0.7 multi-DC cassandra setup with strict time limits for read
> (15ms). We use RF=1 per DC and reads with CL=ONE. Data in datacenters are
> in sync, but we have next problem:
> when application looks for key which is not yet in database, coordinator
> wait for digests from remote datacenters which breaks our time limits.
>
> I know that we can use RF:3 per DC and read with LOCAL_QUORUM to restrict
> reads to local DC only, but RF:3 is not acceptable for us.
>
> Can we force somehow cassandra not to lookup keys in remote CD?
>
> Thanks for your answers!
>



-- 
Derek Williams

Mime
View raw message