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

[EasyCachingAble] is suspectible for cache stampede problem? #534

Open
PawelTroka opened this issue Jun 13, 2024 · 0 comments
Open

[EasyCachingAble] is suspectible for cache stampede problem? #534

PawelTroka opened this issue Jun 13, 2024 · 0 comments

Comments

@PawelTroka
Copy link

Seems to me like using EasyCachingAble attribute for cache isn't protected against cache stampede problem where multiple calls at nearly the same time before the cache is created are causing multiple cache refreshes. One solution would be to lock cache refresh entry with semaphore slim (Locking in https://en.wikipedia.org/wiki/Cache_stampede)

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

No branches or pull requests

1 participant