Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55254

Query KV client would benefit from enabling snappy

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • Elixir
    • query
    • None
    • 0

    Description

      Triggered by MB-55225 where a RangeScan bug sent a compressed value to the query client.

      With Elixir KV assumes that every client enables snappy (although we're not in a position yet to make this mandatory). This lead to some changes in KV document compression where we attempt to keep all documents compressed everywhere, with the assumption that it's rare we'll actually need to compress (as the clients are writing compressed).

      The linked MB highlighted that the query client hasn't enabled snappy, so KV is decompressing values (CPU+) and sending uncompressed values (network/memory+), where for elixir overall there is benefit from not doing so.

      Attachments

        Issue Links

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

          Activity

            People

              binh.le Binh Le
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty