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

Improve in accounting/metric memory usage and throughput

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      As seen in a recent CBSE, if a client hits the n1ql stats hard enough, we could have the GC struggle to clear slices allocated to display request stats.

      Clean up the metrics/sample type not to make copies of heaps every time an aggregate is requested (and the /admin/stats endpoint requests a fair few for each call), rejig the interface to allow to pass a timestamp (rather than calling several times time.Now() with the same value), and improve on contention while inserting new samples.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-49853
          # Subject Branch Project Status CR V

          Activity

            People

              marco.greco Marco Greco (Inactive)
              marco.greco Marco Greco (Inactive)
              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