incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <>
Subject Re: Questions about weak reads
Date Wed, 09 Dec 2009 17:01:00 GMT
On Wed, Dec 9, 2009 at 5:43 PM, Jonathan Ellis <> wrote:
>> In any case, at least for readRemote, why when the "suitableEndpoint"
>> timeout another
>> node is not tried ?
> Because
>  (1) clients need to be able to handle failures either way, so better
> to bail early since
>  (2) each retry costs potentially RPC_TIMEOUT ms

Make sense, thanks for the answer.

And wouldn't it be possible/reasonable to do something like a strong read, but
with a modified quorumResponseHandler that return from get() as soon as it
gets an answer and do the responseResolver/read repair in the background.
Wouldn't it speed up some reads when a node other that the suitableEndpoint
has less latency ?

> -Jonathan

View raw message