New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISPN-7290 Document Data Container Changes #4731
Conversation
.`MANUAL` | ||
This eviction strategy is identical to NONE, in that it disables automatic eviction altogether, but signals the intention that the user wants to evict entries manually. The effect is to disable misleading warning validation messages. | ||
Eviction is handled by link:https://github.com/ben-manes/caffeine[Caffeine] utilizing | ||
the TinyLFU with an additional admission window. This was chosen as provides high hit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/TinyLFU/TinyLFU algorithm/
==== Storage type | ||
|
||
Infinispan allows the user to configure in what form their data is stored. Each | ||
form supports the same features of Infinispan, however evicttion can be limited |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/evicttion/eviction/
provides, they are: | ||
|
||
.`OBJECT` | ||
Stores the keys and values as is provided from the user. Only `COUNT` eviction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stores the keys and values as objects.
I would mention that this means on-heap
type is supported. | ||
|
||
.`BINARY` | ||
Stores the keys and values as a byte[] under the scenes. Both `COUNT` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention that the marshaller will be used to transform the keys/values to/from byte[]
Also mention that on-heap memory will be used
|
||
.`OFF-HEAP` | ||
Stores the keys and values in native memory outside of the | ||
perview of the Garbage Collector as a byte[]. Both `COUNT` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
purview
|
||
In case there is an eviction element, this table describes behaviour of eviction | ||
In case there is an memory element, this table describes behaviour of eviction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
describes the behaviour
* Changed eviction section to have data container * Added in caffeine and off heap
Fixed the comments, thanks @tristantarrant ! |
provides, they are: | ||
|
||
.`OBJECT` | ||
Stores the keys and values as objects in the Java heap Only `COUNT` eviction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing .
?
https://issues.jboss.org/browse/ISPN-7290