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

cbauth cache Get takes 10% throughput on Q1/iris

    XMLWordPrintable

Details

    Description

      cbauth.cache.Get() uses an exclusive lock to get an entry and push it to the bottom of the LRU, and this takes 10% throughput on iris.
      The get should be done with a read lock, and the push should only be done if the entry is in danger of being cleaned (see query/util/cache.go for a similar mechanism).

      FYI the perfrunner tests run as a single user, so sharding the cache but still retaining an exclusive lock will not deliver the desired improvement, as all the requests will be piling up on the same shard.

      Attachments

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

        Activity

          People

            wayne Wayne Siu
            marco.greco Marco Greco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty