Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CAF8DFA4 for ; Sat, 22 Sep 2012 18:28:07 +0000 (UTC) Received: (qmail 4906 invoked by uid 500); 22 Sep 2012 18:28:07 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 4879 invoked by uid 500); 22 Sep 2012 18:28:07 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 4863 invoked by uid 99); 22 Sep 2012 18:28:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 18:28:07 +0000 Date: Sun, 23 Sep 2012 05:28:07 +1100 (NCT) From: "Vijay (JIRA)" To: commits@cassandra.apache.org Message-ID: <1141338742.112338.1348338487461.JavaMail.jiratomcat@arcas> In-Reply-To: <1683530773.112337.1348338367637.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4705) Speculative execution for CL_ONE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-4705: ----------------------------- Issue Type: Improvement (was: Bug) > Speculative execution for CL_ONE > -------------------------------- > > Key: CASSANDRA-4705 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4705 > Project: Cassandra > Issue Type: Improvement > Affects Versions: 1.2.0 > Reporter: Vijay > Assignee: Vijay > Priority: Minor > > When read_repair is not 1.0, we send the request to one node for some of the requests. When a node goes down or when a node is too busy the client has to wait for the timeout before it can retry. > It would be nice to watch for latency and execute an additional request to a different node, if the response is not received within average/99% of the response times recorded in the past. > CASSANDRA-2540 might be able to solve the variance when read_repair is set to 1.0 > 1) May be we need to use metrics-core to record various Percentiles > 2) Modify ReadCallback.get to execute additional request speculatively. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira