Uploaded image for project: 'Apache DirectMemory'
  1. Apache DirectMemory
  2. DIRECTMEMORY-27

Upgrade to protostuff 1.0.4 and switch again to off-heap buffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • None
    • None

    Description

      Upgrade to protostuff 1.0.4 and switch again to the new protostuffserializer implementation - which was slower than the old one in 1.0.0

      David Ly on google groups said:
      > Back when you started testing protostuff (pre 1.0.0), the byte arrays were treated as scalar fields. Sometime february I made a small change that (accidentally) changed the behavior w/c treated the byte arrays like regular arrays (w/c need extra metadata on serialization). 1.0.4 reverts the behavior, plus (re)optimizing collections like List<byte[]>,Map<byte[],byte[]> as well.
      The impact is greatly visible in your pert tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            raffaeleguidi Raffaele P. Guidi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: