Skip to content

Reduce purge contention #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025
Merged

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