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

Optimize externalizer for FileListCacheValue

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.0.0.CR1
    • None
    • Lucene Directory
    • None

    Description

      There are two possible improvements to be applied to the Externalizer strategy applied by FileListCacheValue.

      • Each String is being encoded (and decoded) in UTF8 format, which is expensive. We should explore alternative encodings to String - at least for the wire format.
      • This is an ideal case for Delta operations: on each modification just one entry of the map is added / removed, but the whole HashMap is being transferred at each write.

      I'm not sure how we can combine the Delta interface with custom Externalizers, so that will need to be explored.
      We might want to avoid storing it as a value and resort to custom RPC commands to transfer the needed bits only, but we don't want to reimplement state transfer and CacheStore storage.

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              sgrinove Sanne Grinovero
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: