cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9738) Migrate key-cache to be fully off-heap
Date Fri, 28 Aug 2015 18:36:46 GMT


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:
>             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

View raw message