Uploaded image for project: 'Spymemcached Java Client'
  1. Spymemcached Java Client
  2. SPY-85

JSON documents can't be compressed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • .next
    • 2.8.1
    • library
    • Security Level: Public
    • None

    Description

      In SPY-58 compressing for JSON was disabled. We picked spymemcached because it did compression and couldn't find any documentation saying JSON wouldn't be compressed. Whether to compress JSON or not should be a configuration value that can be passed in much like compressionThreshold.

      Currently our only solution appears to prepend one character that isn't { or [ and then remove it after doing a get. But I would say that not compressing any string just because it starts with a { or [ isn't really desirable because it means that if I expect/want compression of my string I now have to check every string I put into the client and prepend and remove a leading character just to get compression.

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            jjshanks Joshua Shanks
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty