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 29284C51E for ; Tue, 10 Jul 2012 20:22:36 +0000 (UTC) Received: (qmail 86924 invoked by uid 500); 10 Jul 2012 20:22:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 86890 invoked by uid 500); 10 Jul 2012 20:22:35 -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 86879 invoked by uid 99); 10 Jul 2012 20:22:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 20:22:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id CB671141BF8 for ; Tue, 10 Jul 2012 20:22:35 +0000 (UTC) Date: Tue, 10 Jul 2012 20:22:35 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Message-ID: <1594207825.31032.1341951755835.JavaMail.jiratomcat@issues-vm> In-Reply-To: <31480700.245841296154184573.JavaMail.jira@thor> 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=13410818#comment-13410818 ] Jean-Daniel Cryans commented on HBASE-3484: ------------------------------------------- Something that's not log(n), so a straight line would be ideal :) > 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 > > > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira