[
https://issues.apache.org/jira/browse/CASSANDRA-9738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720378#comment-14720378
]
Robert Stupp commented on CASSANDRA-9738:
-----------------------------------------
As an intermediate solution (it's actually more a workaround) we could just not
add key-cache entries bigger than a configurable size (maybe 64kB?) and find a
solution that works for both key-cache and disk (CASSANDRA-9754). Having
something that can do the search in a {{ByteBuffer}} might be nice as it could
be used in off-heap and on disk (assuming it's mmapped). /cc [~mkjellman]
> Migrate key-cache to be fully off-heap
> --------------------------------------
>
> Key: CASSANDRA-9738
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9738
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Fix For: 3.0 beta 2
>
>
> Key cache still uses a concurrent map on-heap. This could go to off-heap and
> feels doable now after CASSANDRA-8099.
> Evaluation should be done in advance based on a POC to prove that pure
> off-heap counter cache buys a performance and/or gc-pressure improvement.
> In theory, elimination of on-heap management of the map should buy us some
> benefit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)