Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07A93104C6 for ; Thu, 18 Dec 2014 21:24:50 +0000 (UTC) Received: (qmail 43784 invoked by uid 500); 18 Dec 2014 21:24:49 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 43712 invoked by uid 500); 18 Dec 2014 21:24:49 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 43683 invoked by uid 99); 18 Dec 2014 21:24:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2014 21:24:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2014 21:24:43 +0000 Received: by mail-ie0-f178.google.com with SMTP id tp5so1923191ieb.37 for ; Thu, 18 Dec 2014 13:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=spAVU+VYh3LFVsmPQqD4QHcVjV5Y6T3lu2sQrw1PD88=; b=eQb+io2832ZNI+5mgP6w8x4GbYF9sA1bBkHNvfmgkkc+Tf0NVyGEEkBhUSDLUNaYI9 70Z/a12QpvfnxY1ioUb9K4HtxE4oKvTLuIuxzPZ6yQyEjHrOWi452Xf62daZ6TnM0717 vUQl5PirT0Rs4mRtJJhm6UpHUwhrMYXlf2ET/dM4aHU9EdHFWYAY4/wQo0cT0eiRXVpq hIMbd7u8Nz8nCYXXodaa5bI5x9um48S8xHj6YY/GRe78oGmgWojw7/3hqTxIF5YH8vd5 Pj6QNNGstUidrzUNCAwuPoA0pl9Tk43hx6MEHkeHrAnLc2y1/O4Y+LzOXgl8q3r0/CuW Dw1w== MIME-Version: 1.0 X-Received: by 10.50.70.2 with SMTP id i2mr4699956igu.46.1418937773138; Thu, 18 Dec 2014 13:22:53 -0800 (PST) Sender: saint.ack@gmail.com Received: by 10.107.167.70 with HTTP; Thu, 18 Dec 2014 13:22:52 -0800 (PST) In-Reply-To: <79B74F64-7DE6-4C1F-8CB5-81CEFD54553D@jurmo.us> References: <79B74F64-7DE6-4C1F-8CB5-81CEFD54553D@jurmo.us> Date: Thu, 18 Dec 2014 13:22:52 -0800 X-Google-Sender-Auth: RQraxiH291HRB2T_SDQ9KglTrEQ Message-ID: Subject: Re: Async RpcClient From: Stack To: HBase Dev List Content-Type: multipart/alternative; boundary=047d7b4140faed415f050a8431c2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b4140faed415f050a8431c2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Dec 17, 2014 at 9:44 AM, Jurriaan Mous wrote: > > Hi, > > I have been working on a Netty 4 based async HBase client to fit better > within the event driven server I have been developing. - > https://github.com/jurmous/async-hbase-client/tree/HBase-0.99 < > https://github.com/jurmous/async-hbase-client/tree/HBase-0.99> > > Recently I have been submitting some patches to make it easier to switch > out the RpcClient of HBase. This to enable HBase to use the client itself > in all communication. I wanted to do this to use the tests on HBase to > check if the client was solid on all edge cases but also to enable HBase = to > possibly migrate to an async client. These were committed on master and > branch-1 > https://issues.apache.org/jira/browse/HBASE-12597 < > https://issues.apache.org/jira/browse/HBASE-12597> > https://issues.apache.org/jira/browse/HBASE-12684 < > https://issues.apache.org/jira/browse/HBASE-12684> > > Now I am at the next step where I want to contribute back the > AsyncRpcClient itself. > > Sweet. > I have opened this issue to add AsyncRpcClient: > https://issues.apache.org/jira/browse/HBASE-12684 < > https://issues.apache.org/jira/browse/HBASE-12684> > In the current patch the new async client is the default. > > 3 questions: > Can anyone with a proper Kerberos setup test if the async client works? > SASL Digest auth works but I haven=E2=80=99t tested Kerberos yet. > > Can anyone with know-how on benchmarking test what the performance of thi= s > client is compared to the current client? The performance should of cours= e > be great in all relevant metrics will it ever be the main client. > > I can have a go at the above Jurriaan, maybe next week? > What will we do with the old RpcClient if the async RpcClient is > introduced? It would be great to remove it so hbase can internally base > anything async (like AsyncProcess) on the async RPC client and this would > not be possible with an also supported sync RPC client. A possible route = is > to make AsyncRpcClient an option on 1.x and a default on 2.0 branch where > we remove the old client. > > Option in 1.1 and default in 2.0 would be the way to go after we get some signal it is an improvement. > When the new AsyncRpcClient will be the default it is possible to > introduce callback variants of the Table, Scanner and Admin methods and > possibly deprecate batch and other AsyncProcess based calls to replace it > with a more flexible batch callback implementation. > > Excellent. These additions would complement/decorate the new 1.0 Table/Admin? St.Ack --047d7b4140faed415f050a8431c2--