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 68996200C0C for ; Mon, 30 Jan 2017 20:57:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 67405160B35; Mon, 30 Jan 2017 19:57:54 +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 A6763160B4D for ; Mon, 30 Jan 2017 20:57:53 +0100 (CET) Received: (qmail 84061 invoked by uid 500); 30 Jan 2017 19:57:52 -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 84050 invoked by uid 99); 30 Jan 2017 19:57:52 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2017 19:57:52 +0000 Received: from hw10447.local (unknown [167.102.188.146]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 1053E1A002B for ; Mon, 30 Jan 2017 19:57:51 +0000 (UTC) Message-ID: <588F9ABB.30703@apache.org> Date: Mon, 30 Jan 2017 14:57:47 -0500 From: Josh Elser User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: user@hbase.apache.org Subject: Re: Performance: HBase Native Java Client versus Thrift Java client References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 30 Jan 2017 19:57:54 -0000 Would recommend that you brush up on your understanding of the HBase architecture. Clients do not receive table data from the HBase Master at any point. This is purely a RegionServer operation. http://hbase.apache.org/book.html#_architecture jeff saremi wrote: > I'd like to understand if there are any considerations on why one would use thrift versus the direct client? > > I was told that Thrift server allow key-caching which would result in faster key-to-regionserver queries as opposed to getting that from the Hbase master nodes. It would also alleviate the load on the master. > > At the same time, we know if going through Thrift would add to the latency since it's an indirect way of getting at data. > > > thanks > > Jeff >