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 72D2B483F for ; Tue, 5 Jul 2011 09:52:37 +0000 (UTC) Received: (qmail 85961 invoked by uid 500); 5 Jul 2011 09:52:34 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 85159 invoked by uid 500); 5 Jul 2011 09:52:18 -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 85140 invoked by uid 99); 5 Jul 2011 09:52:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 09:52:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.190.178.166] (HELO mail.digital.tis.bz.it) (80.190.178.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 09:52:07 +0000 Received: from tyler.unibz.it (unknown [46.18.27.4]) by mail.digital.tis.bz.it (Mailserver) with ESMTPSA id 22F51123A001 for ; Tue, 5 Jul 2011 11:51:46 +0200 (CEST) Message-ID: <4E12DEB2.5070307@tis.bz.it> Date: Tue, 05 Jul 2011 11:51:46 +0200 From: Claudio Martella User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: user@hbase.apache.org Subject: Re: client-side caching References: <4E11CF25.4070507@tis.bz.it> <4E12D57D.8040302@tis.bz.it> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Totally understand. As a matter of fact I didn't mention my table is read-only or insert-only (no data is modified), so no real invalidation necessary here. I guess this means i should go for my own memcache on the client side. Thanks! On 7/5/11 11:39 AM, Ryan Rawson wrote: > Caching sounds easy until you need to worry about invalidation. It's ha= rd to > build efficient and correct invalidation. > On Jul 5, 2011 2:13 AM, "Claudio Martella" = > wrote: >> I've seen that. But that's about caching on regionserver-side through >> memcache. >> >> You still have the network roundtrip. I'd like to avoid at all >> contacting the regionserver, when possible. So I was guessing whether >> the hbase-client would have some caching embedded, otherwise I'll >> implement it through memcache. >> >> >> On 7/4/11 7:03 PM, Ted Yu wrote: >>> See HBASE-4018 >>> >>> On Mon, Jul 4, 2011 at 7:33 AM, Claudio Martella < > claudio.martella@tis.bz.it >>>> wrote: >>>> Hello list, >>>> >>>> i'm using hbase 0.90.3 on a 5 nodes cluster. I'm using a table as a >>>> string<->long map. As I'm using this map a lot, I was thinking about= >>>> installing memcache on the client side, as to avoid flooding hbase f= or >>>> the same value over and over. >>>> >>>> What is the best practice in these situations? some client-side cach= ing >>>> already in hbase? >>>> >>>> Best, >>>> >>>> Claudio >>>> >>>> -- >>>> Claudio Martella >>>> Digital Technologies >>>> Unit Research & Development - Analyst >>>> >>>> TIS innovation park >>>> Via Siemens 19 | Siemensstr. 19 >>>> 39100 Bolzano | 39100 Bozen >>>> Tel. +39 0471 068 123 >>>> Fax +39 0471 068 129 >>>> claudio.martella@tis.bz.it http://www.tis.bz.it >>>> >>>> Short information regarding use of personal data. According to Secti= on > 13 >>>> of Italian Legislative Decree no. 196 of 30 June 2003, we inform you= > that we >>>> process your personal data in order to fulfil contractual and fiscal= >>>> obligations and also to send you information regarding our services = and >>>> events. Your personal data are processed with and without electronic= > means >>>> and by respecting data subjects' rights, fundamental freedoms and > dignity, >>>> particularly with regard to confidentiality, personal identity and t= he > right >>>> to personal data protection. At any time and without formalities you= can >>>> write an e-mail to privacy@tis.bz.it in order to object the processi= ng > of >>>> your personal data for the purpose of sending advertising materials = and > also >>>> to exercise the right to access personal data and other rights refer= red > to >>>> in Section 7 of Decree 196/2003. The data controller is TIS Techno >>>> Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find t= he >>>> complete information on the web site www.tis.bz.it. >>>> >>>> >>>> >>>> >>>> >> >> -- >> Claudio Martella >> Free Software & Open Technologies >> Analyst >> >> TIS innovation park >> Via Siemens 19 | Siemensstr. 19 >> 39100 Bolzano | 39100 Bozen >> Tel. +39 0471 068 123 >> Fax +39 0471 068 129 >> claudio.martella@tis.bz.it http://www.tis.bz.it >> >> Short information regarding use of personal data. According to Section= 13 > of Italian Legislative Decree no. 196 of 30 June 2003, we inform you th= at we > process your personal data in order to fulfil contractual and fiscal > obligations and also to send you information regarding our services and= > events. Your personal data are processed with and without electronic me= ans > and by respecting data subjects' rights, fundamental freedoms and digni= ty, > particularly with regard to confidentiality, personal identity and the = right > to personal data protection. At any time and without formalities you ca= n > write an e-mail to privacy@tis.bz.it in order to object the processing = of > your personal data for the purpose of sending advertising materials and= also > to exercise the right to access personal data and other rights referred= to > in Section 7 of Decree 196/2003. The data controller is TIS Techno > Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the > complete information on the web site www.tis.bz.it. >> >> >> --=20 Claudio Martella Free Software & Open Technologies Analyst TIS innovation park Via Siemens 19 | Siemensstr. 19 39100 Bolzano | 39100 Bozen Tel. +39 0471 068 123 Fax +39 0471 068 129 claudio.martella@tis.bz.it http://www.tis.bz.it Short information regarding use of personal data. According to Section 13= of Italian Legislative Decree no. 196 of 30 June 2003, we inform you tha= t we process your personal data in order to fulfil contractual and fiscal= obligations and also to send you information regarding our services and = events. Your personal data are processed with and without electronic mean= s and by respecting data subjects' rights, fundamental freedoms and digni= ty, particularly with regard to confidentiality, personal identity and th= e right to personal data protection. At any time and without formalities = you can write an e-mail to privacy@tis.bz.it in order to object the proce= ssing of your personal data for the purpose of sending advertising materi= als and also to exercise the right to access personal data and other righ= ts referred to in Section 7 of Decree 196/2003. The data controller is TI= S Techno Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can fi= nd the complete information on the web site www.tis.bz.it.