[infinispan-issues] [JBoss JIRA] (ISPN-12230) Deprecate client keySizeEstimate and valueSizeEstimate attributes
Dan Berindei (Jira)
issues at jboss.org
Fri Aug 14 05:43:00 EDT 2020
Dan Berindei created ISPN-12230:
-----------------------------------
Summary: Deprecate client keySizeEstimate and valueSizeEstimate attributes
Key: ISPN-12230
URL: https://issues.redhat.com/browse/ISPN-12230
Project: Infinispan
Issue Type: Bug
Components: Configuration, Hot Rod
Affects Versions: 11.0.3.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.0.0.Dev02
The core configuration has long ago removed the {{keySizeEstimate}} and {{valueSizeEstimate}} attributes, using instead a {{BufferSizePredictor}} to dynamically estimate the size of the next key/value. {{ProtostreamMarshaller}} goes even further and ignores the estimate.
We should stop using {{keySizeEstimate}} and {{valueSizeEstimate}} on the client as well, and instead use a fixed buffer size ({{ProtostreamMarshaller}} uses 512).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list