Skip to content

Reduce purge contention#56

Merged
sethvargo merged 1 commit intosethvargo:mainfrom
jhawk28:reduce-purge-contention
Apr 12, 2025
Merged

Reduce purge contention#56
sethvargo merged 1 commit intosethvargo:mainfrom
jhawk28:reduce-purge-contention

Conversation

@jhawk28
Copy link
Contributor

@jhawk28 jhawk28 commented Apr 12, 2025

Updated range to use RLock/RUnlock. Moved deletes to use a Lock/Unlock for each. Updated Burst to use a RLock/RUnlock. Lock contention still occurs for new buckets.

fixes #54

Updated range to use RLock/RUnlock. Moved deletes to use a Lock/Unlock for each. Updated Burst to use a RLock/RUnlock. Lock contention still occurs for new buckets.

fixes sethvargo#54
@sethvargo sethvargo enabled auto-merge (squash) April 12, 2025 14:43
@sethvargo sethvargo disabled auto-merge April 12, 2025 14:44
@sethvargo sethvargo merged commit fa26982 into sethvargo:main Apr 12, 2025
10 checks passed
@jhawk28 jhawk28 deleted the reduce-purge-contention branch April 12, 2025 19:50
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.

memstore purge() bottleneck

2 participants