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

dcp_proxy should optimize the quantity of copying done when dealing with large mutations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Critical
    • backlog
    • Cheshire-Cat
    • ns_server
    • None

    Description

      DCP proxy doesn't manage DCP mutations it receives optimally. In particular, large mutations are read in chunks and are appended in sequence to the mutation binary so that the total DCP mutation "packet" can be passed as a convenient blob to routines that process it. These routines simply write the packet to the peer proxy socket in most case, but some mutations do indeed need to be completely decoded. Of course, these mutations are always the small DCP control mutations.

      Optimizing how this is handled can result in lower CPU and lower memory use that will be most noticeable in situations with large mutations.

      Attachments

        Issue Links

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

          Activity

            People

              dfinlay Dave Finlay
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty