Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 508CA200B71 for ; Wed, 17 Aug 2016 05:53:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F161160ABC; Wed, 17 Aug 2016 03:53:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BDD51160ABA for ; Wed, 17 Aug 2016 05:53:22 +0200 (CEST) Received: (qmail 37183 invoked by uid 500); 17 Aug 2016 03:53:21 -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 37042 invoked by uid 99); 17 Aug 2016 03:53:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2016 03:53:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 113812C02B4 for ; Wed, 17 Aug 2016 03:53:21 +0000 (UTC) Date: Wed, 17 Aug 2016 03:53:21 +0000 (UTC) From: "sankalp kohli (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-2848) Make the Client API support passing down timeouts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 17 Aug 2016 03:53:23 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-2848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423828#comment-15423828 ] sankalp kohli commented on CASSANDRA-2848: ------------------------------------------ CASSANDRA-12256 is fixed now. Can we get this reviewed. > Make the Client API support passing down timeouts > ------------------------------------------------- > > Key: CASSANDRA-2848 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2848 > Project: Cassandra > Issue Type: Improvement > Reporter: Chris Goffinet > Assignee: Geoffrey Yu > Priority: Minor > Fix For: 3.x > > Attachments: 2848-trunk.txt > > > Having a max server RPC timeout is good for worst case, but many applications that have middleware in front of Cassandra, might have higher timeout requirements. In a fail fast environment, if my application starting at say the front-end, only has 20ms to process a request, and it must connect to X services down the stack, by the time it hits Cassandra, we might only have 10ms. I propose we provide the ability to specify the timeout on each call we do optionally. -- This message was sent by Atlassian JIRA (v6.3.4#6332)