Skip to content
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

Merged
merged 1 commit into from Dec 21, 2016

Conversation

wburns
Copy link
Member

@wburns wburns commented Dec 15, 2016

  • Changed eviction section to have data container
  • Added in caffeine and off heap

https://issues.jboss.org/browse/ISPN-7290

.`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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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
@wburns
Copy link
Member Author

wburns commented Dec 16, 2016

Fixed the comments, thanks @tristantarrant !

provides, they are:

.`OBJECT`
Stores the keys and values as objects in the Java heap Only `COUNT` eviction
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing .?

@tristantarrant tristantarrant merged commit d95ec73 into infinispan:master Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants