[infinispan-issues] [JBoss JIRA] (ISPN-8396) Add interceptor preventing going out of memory

Sebastian Łaskawiec (JIRA) issues at jboss.org
Tue Nov 7 08:52:00 EST 2017


    [ https://issues.jboss.org/browse/ISPN-8396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486818#comment-13486818 ] 

Sebastian Łaskawiec commented on ISPN-8396:
-------------------------------------------

I think for symmetry reasons we should have both off-heap and on-heap. But I do agree, off-heap is a priority here.

Also I guess you're right, the interceptor should report an error to the client. The blocking behavior should be implemented on client side (since we don't want to block any threads on server side). It might be beneficial to get [~NadirX] [~karesti] opinion here.

The biggest question that I have at the moment is how the configuration will look like in XML?

> Add interceptor preventing going out of memory
> ----------------------------------------------
>
>                 Key: ISPN-8396
>                 URL: https://issues.jboss.org/browse/ISPN-8396
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Cloud Integrations, Core
>            Reporter: Sebastian Łaskawiec
>            Assignee: William Burns
>
> We need an interceptor which will calculate the amount of required memory for PUT and report an error if that put will cause going out of memory.
> Note that this is strictly connected to eviction mechanism (we might want to evict some entries on write)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list