Skip to content

Invalidation caches and max-idle #10857

Closed Answered by wburns
vmgbrown asked this question in Q&A
Discussion options

You must be logged in to vote

I assume this means that the max-idle setting has no effect on an invalidation cache?

That is not correct, the reason it does not work is because it does not do part of what is described in the paragraph there by sending touch commands to remote nodes. So when invalidation with max idle is used each node will keep their own last access time. Thus if you have a node that doesn't access the entry it will send an invalidation message removing it from all nodes, causing a refetch of the data.

Note, however that Wildfly clustering implements their own max idle on top of Infinispan. You will want to ask them what semantics it has.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vmgbrown
Comment options

Answer selected by vmgbrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants