Optimise Threshold Tracer queues/sorting

Description

The heap sorting process uses up a lot of time in TLT, and seems to be one of the largest factors in where time is spent when tracing. This is more pronounced when using Python client, where lots of extra spans are produced and potentially accumulate.

See https://couchbasecloud.atlassian.net/browse/PYCBC-507?focusedCommentId=495822&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

 

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot August 14, 2018 at 11:08 PM

Build couchbase-server-6.5.0-1205 contains libcouchbase commit cfcbd22 with commit message:
: optimize Threshold Tracer queues/sorting

CB robot August 14, 2018 at 9:01 PM

Build libcouchbase-2.8.5-228 contains libcouchbase commit cfcbd22 with commit message:
: optimize Threshold Tracer queues/sorting

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Story Points

Reporter

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 13, 2018 at 6:32 PM
Updated April 24, 2020 at 11:46 PM
Resolved August 17, 2018 at 8:17 PM
Instabug