Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28DCF10DEF for ; Thu, 6 Feb 2014 07:11:44 +0000 (UTC) Received: (qmail 82877 invoked by uid 500); 6 Feb 2014 07:11:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 82181 invoked by uid 500); 6 Feb 2014 07:11:40 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 82169 invoked by uid 99); 6 Feb 2014 07:11:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 07:11:39 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of 0x6e6562@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 07:11:32 +0000 Received: by mail-vb0-f47.google.com with SMTP id p6so1115436vbe.6 for ; Wed, 05 Feb 2014 23:11:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=C7kDKdPlIe2pVM0Xhoqi/S9Z6ULbyy9SpSaOLwHue1s=; b=W+5PR09Nq76jfnHpO9GiCnFhXcr5ly3rF8gjmJr+zqGDGdr/+P/S+22uFMDt0jfNCS 2PuxwBhQ9r56suM11fwBZOXEs4PcWp+pNek2kZWF/ydfYLwX6etahzeO1Dbw8YQB71rQ iK0eIrzQ5wtcGTSjF1rN46FqKIjIMvUzcZCWDtp29qeBze05RBBas4jL/E50+9wkEait mvM/w0Ez3A2pWvcVVe3QYRBsMnESKDsfj1HusGXjO1LjS6Psai593sShv20Ok/f3JxMA iPYwJcAqezsTvhqzB81T7zlcMztfmHawjhoY37xMAQYE63MbH+qQ5UanY1GTpzwOfYx6 EkqQ== MIME-Version: 1.0 X-Received: by 10.220.58.202 with SMTP id i10mr4583060vch.23.1391670671814; Wed, 05 Feb 2014 23:11:11 -0800 (PST) Received: by 10.58.109.33 with HTTP; Wed, 5 Feb 2014 23:11:11 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Feb 2014 07:11:11 +0000 Message-ID: Subject: Re: CQL flow control From: Ben Hood <0x6e6562@gmail.com> To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Feb 5, 2014 at 7:32 PM, Edward Capriolo wrote: > I agree you can not really ask your database to capacity plan for you. > Cassandra does have backpressure of sorts if requests fail with > TimedOutException or UnavailableException. You might be having a capacity > problem. > > The way I would handle this is > 1) prototype at scale (dark launches, similar hardware loaded with data you > expect in production) > 2) collect stats like 95 percentile response time, request/failures. > > When your 95 percentile starts dipping this is a good indication that it is > time to deal with the performance issue. This is a good point when you're assessing the end to end flow control of a particular app. As I was saying to Rob, I'm looking at what options a driver can provide, if any.