Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Perf: race condition for in flight cache #4411

Open
davidmurdoch opened this issue May 19, 2023 · 0 comments
Open

Perf: race condition for in flight cache #4411

davidmurdoch opened this issue May 19, 2023 · 0 comments

Comments

@davidmurdoch
Copy link
Member

We check the in flight cache, the memory cache, then check the persistent cache asynchronously, then insert into the in flight cache.

In rare circumstances this might allow multiple requests for the same data to be fired off to the upstream provider, when there should only be one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant