Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 96D7319147 for ; Mon, 25 Apr 2016 08:38:18 +0000 (UTC) Received: (qmail 58086 invoked by uid 500); 25 Apr 2016 08:38:17 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 58016 invoked by uid 500); 25 Apr 2016 08:38:16 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 57876 invoked by uid 99); 25 Apr 2016 08:38:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2016 08:38:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0CCEF1805B7 for ; Mon, 25 Apr 2016 08:38:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.407 X-Spam-Level: ** X-Spam-Status: No, score=2.407 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, TVD_FROM_1=0.999, T_DKIM_INVALID=0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=kev009.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id OXD2e9el40bU for ; Mon, 25 Apr 2016 08:38:13 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 9DB315F2F1 for ; Mon, 25 Apr 2016 08:38:13 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id bg3so77612607obb.1 for ; Mon, 25 Apr 2016 01:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=H2ZmEb4ECF5RUspNYwlf5o0IFmzxFUwomIrZXYov5oA=; b=qYLfZUX/lFw35zGt9ymUjjjTNjZwtEg9UK6gTjvvMBc8pujeQBqF8qFu5DS7EnQo8M 1IfzOqd5rKHtcLa/ysGxgBj8bctYaB3CriNgy4lJxKofyP2L3IFJUKHRg3pjvwBAFbWL fYuixs5pJHQHqHVKMhtHwBB6Ijaw6OJ5zpT6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=H2ZmEb4ECF5RUspNYwlf5o0IFmzxFUwomIrZXYov5oA=; b=fxjx+VzksJa9o9WAjasUKSgKZuEgFHSQBGujsGNwYfsH/NiToP2wURgPGvV0APygdt pvYMJKbZbXaCCx17F/vBbIc9ZWJahZouclc4bq+suMnRUBiw/FtcVQraXEHDiE+CuBQ1 b7zG2QaZ0wES+Czeyen1EbpC5h+lpCqsGMUNOI2uZqRm8BiuzhrtkhzsiEYyZeZTi4+B +9RX+oZr193KmGaK9H53s4Rx8oxX1geQryxgzPbgMA8GWxo99bBE5J2JShbjGz9VH+zl qE3wvxZKds3m9Qsu3bCSGY91aMPE1BekcSirCdIy+EEigwxSeF+ztY7Era8Uo5qPvNtn JjiA== X-Gm-Message-State: AOPr4FVOHPpBS0cU+YpWbjsvGPoTLqOGR2sXHiC6xXmitjQoON9wix9yBe2INMb+YQEn+uw09labRoCiiIdkTA== MIME-Version: 1.0 X-Received: by 10.60.123.41 with SMTP id lx9mr14630334oeb.55.1461573487125; Mon, 25 Apr 2016 01:38:07 -0700 (PDT) Received: by 10.157.61.227 with HTTP; Mon, 25 Apr 2016 01:38:07 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Apr 2016 01:38:07 -0700 Message-ID: Subject: Re: Balancing reads and writes From: Kevin Bowling To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7b5d5ffc83863805314b1811 --047d7b5d5ffc83863805314b1811 Content-Type: text/plain; charset=UTF-8 Yeah here's the config I ended up with. Out of the box it had really severe blocking for write bursts, reads are much better with this and handlers turned up a bit: hbase.ipc.server.callqueue.read.ratio 0.4 hbase.ipc.server.callqueue.scan.ratio 0.5 hbase.ipc.server.callqueue.handler.factor 0.5 Regards, Kevin On Sat, Apr 16, 2016 at 9:27 PM, Vladimir Rodionov wrote: > There are separate RPC queues for read and writes in 1.0+ (not sure about > 0.98). You need to set sizes of these queues accordingly. > > -Vlad > > On Sat, Apr 16, 2016 at 4:23 PM, Kevin Bowling > wrote: > > > Hi, > > > > Using OpenTSDB 2.2 with its "appends" feature, I see significant impact > on > > read performance when writes are happening. If a process injects a few > > hundred thousand points in batch, the call queues on on the region > servers > > blow up and until they drain a new read request is basically blocked at > the > > end of the line. > > > > Any recommendations for keeping reads balanced vs writes? > > > > Regards, > > Kevin > > > --047d7b5d5ffc83863805314b1811--