Use Shared Memory Buffers For Operation Response Data

Description

This change should reduce heap allocations (especially on the LOH for responses > 80KB) and the amount of bit blitting.

Note: unless we implement a custom memory pool, responses > 1MB will still be heap allocated. However, it should still reduce the number of heap allocations involved in this edge case, and a custom memory pool can be added in a future iteration if required.

Note: Follow-up with https://couchbasecloud.atlassian.net/browse/NCBC-1897#icft=NCBC-1897 is required to reach best efficiency.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

has to be done after

has to be done before

Activity

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

Details

Assignee

Reporter

Labels

Story Points

Components

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created March 27, 2019 at 12:11 AM
Updated April 24, 2020 at 8:22 PM
Resolved March 30, 2019 at 1:48 PM
Instabug

Flag notifications