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 Wed, 19 Aug 2015 19:27:47 GMT


Robert Stupp commented on CASSANDRA-9738:

Ouch, yes, names can contain UTF8 chars.
[Pushed a commit|]
as _a demo_ of how the lambda approach could look like. writeUTF could be nice - but readUTF
would require two method refs (one for reading the len and one for reading bytes).
read/writeUTF in also use unsigned short for serialization.

Hm - Mrs. cassci seems to be annoyed... ("Slave went offline during the build")

> 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