:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
MIT License
1.92k
stars
324
forks
source link
[EasyCachingAble] is suspectible for cache stampede problem? #534
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)
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)