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

Investigate/Improve performance of document expiry throughput

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Major
    • 7.1.0
    • 6.5.1, 6.6.0, 6.5.0
    • couchbase-bucket
    • None

    Description

      Investigate improve the expiry processing so that

      • Its throughput is more predictable, so that we can perform reliable sizings
      • It better scales to multicore, so that the available CPU can be utilized for expiry handling

      Possible areas to investigate (after profiling) are:

      • Performing expiration across multiple vBuckets in parallel.
      • Looking at the locking here - is the ItemPager slowed when visiting due to having to hold HashTable lock; or is it the locking when we bulk-delete all expired items in a given vBucket?
      • Allowing expiration to skip over HashTable locks which are currently locked - although this would mean StoredValues could be skipped from being considered in a given item pager pass.

      Attachments

        Issue Links

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

          Activity

            People

              owend Daniel Owen
              owend Daniel Owen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  PagerDuty