Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1239

Optimize CouchbaseAsyncBucket.queuePop()

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.7.3
    • None
    • None
    • None
    • 1

    Description

      The performance of CouchbaseAsyncBucket.queuePop could be improved by using a subdocument operation to get first array element, instead of fetching the whole document.

      See CouchbaseQueue.poll() for an example of the optimized strategy.

      With this optimization in place, it might make sense to reduce code duplication by having CouchbaseQueue.poll() call CouchbaseBucket.queuePop().

      Attachments

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

        Activity

          People

            subhashni Subhashni Balakrishnan (Inactive)
            david.nault David Nault
            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