[
https://issues.apache.org/jira/browse/CASSANDRA-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-863:
---------------------------------------
Attachment: 863.txt
Patch to disable row cache and set key cache at 1M for both CFs. Tested with
both CF caches fully populated and the JVM is using ~500MB w/stress.py keys
which is a fair amount for a 1G JVM.
> Default cache levels should be explicit, not percentage
> -------------------------------------------------------
>
> Key: CASSANDRA-863
> URL: https://issues.apache.org/jira/browse/CASSANDRA-863
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 0.6
> Reporter: Brandon Williams
> Assignee: Brandon Williams
> Priority: Trivial
> Fix For: 0.6
>
> Attachments: 863.txt
>
>
> Now that we can specify explicit numbers for row and key caches, the default
> config should use this. The reason is that it's very easy to grow your keys
> and not realize a percentage is going to get you eventually. It's better to
> have a system that has a low cache hit rate and keeps going than a system
> that encounters memory pressure from overpopulating its cache and slows to a
> crawl or dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.