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

LocalGrainDirectory: reduce lookup contention by consulting cache before partition #7244

Merged

Conversation

ReubenBond
Copy link
Member

When a lookup lands on the local grain directory, consulting the cache before consulting the local grain directory partition can reduce contention. Essentially, the cache is designed for concurrent lookups, while the directory needs to pay some additional consistency cost.

This made a significant impact in local benchmarking.

@ReubenBond ReubenBond added this to the 4.0.0 milestone Aug 28, 2021
@benjaminpetit benjaminpetit merged commit c20314d into dotnet:main Aug 30, 2021
@ReubenBond ReubenBond deleted the perf/localgraindirectory-consult-cache branch August 30, 2021 15:20
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants