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 0CE1ADC54 for ; Tue, 9 Oct 2012 17:14:04 +0000 (UTC) Received: (qmail 75117 invoked by uid 500); 9 Oct 2012 17:14:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 75082 invoked by uid 500); 9 Oct 2012 17:14:03 -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 75066 invoked by uid 99); 9 Oct 2012 17:14:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 17:14:03 +0000 Date: Tue, 9 Oct 2012 17:14:03 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1214465379.15404.1349802843841.JavaMail.jiratomcat@arcas> In-Reply-To: <1683530773.112337.1348338367637.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13472552#comment-13472552 ] Jonathan Ellis commented on CASSANDRA-4705: ------------------------------------------- our history has been that sooner or later someone always wants fractional ms, but I'm fine w/ long (or int) :) > 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 > Attachments: 0001-CASSANDRA-4705.patch > > > 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