Details
-
Improvement
-
Resolution: Fixed
-
Major
-
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().