Skip to content

Conversation

@avsej
Copy link
Member

@avsej avsej commented Feb 14, 2025

For performance reasons, store bucket configuration as shared pointer, and copy it instead. The SDK can use shared pointer here, as configuration is readonly, and only access to the pointer have to be protected by the mutex

@avsej avsej requested review from a team, DemetrisChr and thejcfactor February 14, 2025 03:39
@avsej avsej force-pushed the CXXCBC-646-fix-performance-issue-with-replicas branch 2 times, most recently from 763af3e to a7ed2cb Compare February 14, 2025 04:32
For performance reasons, store bucket configuration as shared pointer,
and copy it instead. The SDK can use shared pointer here, as
configuration is readonly, and only access to the pointer have to be
protected by the mutex
@avsej avsej force-pushed the CXXCBC-646-fix-performance-issue-with-replicas branch from a7ed2cb to e3f343e Compare February 14, 2025 04:49
@avsej avsej requested a review from thejcfactor February 14, 2025 18:20
Copy link
Contributor

@thejcfactor thejcfactor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@avsej avsej merged commit b2f1442 into couchbase:main Feb 14, 2025
24 of 27 checks passed
@avsej avsej deleted the CXXCBC-646-fix-performance-issue-with-replicas branch February 14, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants