Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D271102D4 for ; Fri, 6 Sep 2013 12:41:00 +0000 (UTC) Received: (qmail 51799 invoked by uid 500); 6 Sep 2013 12:41:00 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51521 invoked by uid 500); 6 Sep 2013 12:40:59 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 51507 invoked by uid 99); 6 Sep 2013 12:40:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 12:40:57 +0000 Date: Fri, 6 Sep 2013 12:40:57 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-3484) Replace memstore's ConcurrentSkipListMap with our own implementation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760178#comment-13760178 ] Anoop Sam John commented on HBASE-3484: --------------------------------------- In current patch the max size of the memstore slice is specified in terms of heap size. But what matters is the #entries in the CSLM. I am thinking this can be #entries in the slice. > Replace memstore's ConcurrentSkipListMap with our own implementation > -------------------------------------------------------------------- > > Key: HBASE-3484 > URL: https://issues.apache.org/jira/browse/HBASE-3484 > Project: HBase > Issue Type: Improvement > Components: Performance > Affects Versions: 0.92.0 > Reporter: Todd Lipcon > Priority: Critical > Attachments: hierarchical-map.txt, memstore_drag.png, WIP_HBASE-3484.patch > > > By copy-pasting ConcurrentSkipListMap into HBase we can make two improvements to it for our use case in MemStore: > - add an iterator.replace() method which should allow us to do upsert much more cheaply > - implement a Set directly without having to do Map to save one reference per entry > It turns out CSLM is in public domain from its development as part of JSR 166, so we should be OK with licenses. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira