Uploaded image for project: 'Java DCP Client'
  1. Java DCP Client
  2. JDCP-82

Decompress with org.iq80.snappy instead of Netty

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.27.0
    • None
    • 1

    Description

      org.iq80.snappy decompresses more quickly than Netty, but requires the input and output to be byte arrays. We'd have to copy the compressed bytes from a ByteBuf to a byte array before decompressing. Try it and see how it affects performance.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          david.nault David Nault added a comment -

          Might make sense to wait for the core-io 1.6.0 release, which includes org.iq80.snappy as a repackaged dependency.

          david.nault David Nault added a comment - Might make sense to wait for the core-io 1.6.0 release, which includes org.iq80.snappy as a repackaged dependency.
          david.nault David Nault added a comment -

          Even with the extra memory copy, org.iq80.snappy decompresses in half the time.

          david.nault David Nault added a comment - Even with the extra memory copy, org.iq80.snappy decompresses in half the time.

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty