cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-1255) Explore interning keys and column names
Date Tue, 28 Dec 2010 23:21:45 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-1255.
---------------------------------------

    Resolution: Not A Problem

Thanks for investigating.

> Explore interning keys and column names
> ---------------------------------------
>
>                 Key: CASSANDRA-1255
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1255
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>
> With multiple Memtables, key caches and row caches holding DecoratedKey references, it
could potentially be a huge memory savings (and relief to GC) to intern DecoratedKeys. Taking
the idea farther, for the skinny row pattern, and for certain types of wide row patterns,
interning of column names could be very beneficial as well (although we would need to wrap
the byte[]s in something for hashCode/equals).
> This ticket should explore the benefits and overhead of interning.
> Google collections/guava MapMaker is a very convenient way to create this type of cache:
example call: http://stackoverflow.com/questions/2865026/use-permgen-space-or-roll-my-own-intern-method/2865083#2865083

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message