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] [Commented] (CASSANDRA-3183) Make SerializingCacheProvider the default if JNA is available
Date Mon, 12 Sep 2011 20:31:09 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103014#comment-13103014
] 

Jonathan Ellis commented on CASSANDRA-3183:
-------------------------------------------

- I don't like having two different checks (isJNAEnabled in CLibrary, and does Memory class
exist in SCP)
- -alt patch doesn't address other problems (thrift always including a CLHCP value, which
means default in CFM gets ignored, or being able to startup on a machine w/o JNA, w/ a schema
including SCP)

> Make SerializingCacheProvider the default if JNA is available
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-3183
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3183
>             Project: Cassandra
>          Issue Type: Task
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3183-alt.patch, 3183.txt
>
>
> The serializing cache is a better choice for most users:
> - Lower total memory usage (serialized data is usually 8x-12x smaller than "live" data
in the JVM with all the overhead that involves) means you can cache more rows for a given
memory footprint
> - Moving the serialized rows off-heap means you can use smaller heaps, reducing the impact
of GC pauses

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message