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 F2A172BE9 for ; Thu, 21 Apr 2011 21:45:15 +0000 (UTC) Received: (qmail 44332 invoked by uid 500); 21 Apr 2011 21:45:14 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 44303 invoked by uid 500); 21 Apr 2011 21:45:14 -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 44295 invoked by uid 99); 21 Apr 2011 21:45:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:45:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tsunanet@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:45:09 +0000 Received: by wyf19 with SMTP id 19so142609wyf.14 for ; Thu, 21 Apr 2011 14:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=5pG+jgp74HxLXtpl30uDOPLA6u+uUjG9S89A1pX197s=; b=ndGqH08RyB7KWuQS1+f2B8DE6gL5xTvscFddW/Gg7zZjoWIVd8aONqpbMw20xmFSAz ujNku9iNHBIxRysst51pKBzbNg6R1DWfwmN+PvQoHGfOXde1Jhdoub2I8QLD6l/4/l8c 9EYJnE4o8cX06jBGuGOKJwS8Wbhw7Mn7aLUOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=vyJgsbDk9g9wj5MwMnN2uMrrjGyCZg+kYLS9e8iJ3z1Zr8NcA6cRwCTbN6iD0p+Sei Edqe8uZcH8GiMaXlK+ihWFreSXT/ISji7bzookxAbbE2HP7j8fIGoDBsl18j+QAat887 yW4oBV9YWzBGC4Qn4nkBuTVTBTW7JAcCYsxcA= Received: by 10.227.1.102 with SMTP id 38mr408283wbe.109.1303422288142; Thu, 21 Apr 2011 14:44:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.157.195 with HTTP; Thu, 21 Apr 2011 14:44:28 -0700 (PDT) In-Reply-To: References: From: tsuna Date: Thu, 21 Apr 2011 14:44:28 -0700 Message-ID: Subject: Re: issue with thrift server pile up. To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Apr 20, 2011 at 3:45 PM, Jack Levin wrote: > Hello -- we have an issue that looks like this. =A0 We have php app > front end and thrift servers that live on seperate boxes away from > HBASE cluster. =A0Everytime we do compaction on one of our 8 RS servers, > we cause a thread pile up on Thrift servers that delay _all_ queries > to HBASE. =A0Our usual level of threads on Thrift is around 250 threads, > but when we do a single compaction on a single region server, the > Thrift threads jump to about 5,000, which makes HBASE to be slow for > all regions , not just the one that compacts. =A0 How does one solve an > issue like that? =A0I know with mysql we can setup slaves and just > redirect queries to slave zones that are faster, but what options do > we have to avoid HBASE slowdown as a whole? Writing a new Thrift server that's asynchronous and uses asynchbase would avoid this issue, I believe, because only requests that are blocked / slowed down by the compaction would be impacted, but other requests would still flow normally. I've been considering to do something like that as I believe we have the same problem at StumbleUpon (although to the impact is less in our case because our cluster is bigger than 8 RS). --=20 Benoit "tsuna" Sigoure Software Engineer @ www.StumbleUpon.com