Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12230

Deprecate client keySizeEstimate and valueSizeEstimate attributes

    XMLWordPrintable

Details

    Description

      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).

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: