HybridCache - кажется готовица замена явного использования IMemoryCache / IDistributedCache. На данный момент существует только в виде prerelease пакета. Имеет важную фичу, про которую забывает много авторов альтернативных кэшей:
Cache stampede happens when a frequently used cache entry is revoked, and too many requests try to repopulate the same cache entry at the same time. HybridCache combines concurrent operations, ensuring that all requests for a given response wait for the first request to populate the cache.
т.е. то как это реализовано например в FusionCache и LazyCache если я правильно помню. #dotnet
Post #515
824
- 👍 1