Skip to content
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

feat(new_metrics): use rwlock instead of mutex to protect a metric entity or registry against few writes and numerous reads #1196

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

empiredan
Copy link
Contributor

This PR is to solve #1195.

…entity or registry for lots of queries over them in the future
@empiredan empiredan changed the title feat: use rwlock instead of mutex to protect a metric entity or registry against few writes and numerous reads feat(new_metrics): use rwlock instead of mutex to protect a metric entity or registry against few writes and numerous reads Oct 21, 2022
@empiredan empiredan merged commit f9c85bf into apache:master Oct 21, 2022
@empiredan empiredan mentioned this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants