[infinispan-issues] [JBoss JIRA] (ISPN-863) Eviction based on JVM memory utilization
Chas Emerick (JIRA)
jira-events at lists.jboss.org
Wed Oct 9 12:29:03 EDT 2013
[ https://issues.jboss.org/browse/ISPN-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12812809#comment-12812809 ]
Chas Emerick commented on ISPN-863:
-----------------------------------
I am entirely unfamiliar with the implementation details and internal architecture of Infinispan that might make an instrumentation-based eviction approach desirable. That said, if a typical objective is to make it so that caches utilize as much available heap as possible, while never provoking an {{OutOfMemoryError}}, that approach sounds incredibly complicated compared to putting entry values in e.g. {{SoftReference}}s.
Is there a reason why such an approach is unworkable in Infinispan, or does it represent an orthogonal potential feature (perhaps because eviction strategies have no control over the object model around cache entries, etc)? Obviously, it doesn't address the notion of providing ways to allocate percentages of the max heap to caches, but I wonder if that's actually desirable given typical use cases and the complexity associated with implementing such controls.
> Eviction based on JVM memory utilization
> ----------------------------------------
>
> Key: ISPN-863
> URL: https://issues.jboss.org/browse/ISPN-863
> Project: Infinispan
> Issue Type: Enhancement
> Components: Eviction
> Affects Versions: 4.2.0.Final
> Environment: N/A
> Reporter: Dave Marion
> Assignee: Manik Surtani
> Labels: eviction, threshold
>
> Allow user to specify percentage threshold upon which eviction will kick in and begin evicting entries based on the specified strategy. This would allow user to create a cache that will attempt to keep as many entries in memory as possible without having to specify maxEntries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list