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

Reduce marshalling payload sizes

XMLWordPrintable

      Apply some marshalling improvements:

      1. Marshall instances of java.util.Arrays$ArrayList with ArrayListExternalizer so that it occupies less space.

      2. RegularEnumSet and JumboEnumSet should be detected and they should be written using SetExternalizer. For an enum set with a single value, this means going from writing 41 bytes to 10 bytes.

      3. Avoid sending OPERATION_X flags when compatibility mode is disabled.

      4. Current array support in JBoss Marshalling ends up writing class information even for know types. Try to figure out a way to detect the most commonly written arrays in Infinispan and find an efficient way to marshall them.

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: