CloudMemoryCache 1.0.2
See the version list below for details.
dotnet add package CloudMemoryCache --version 1.0.2
NuGet\Install-Package CloudMemoryCache -Version 1.0.2
<PackageReference Include="CloudMemoryCache" Version="1.0.2" />
paket add CloudMemoryCache --version 1.0.2
#r "nuget: CloudMemoryCache, 1.0.2"
// Install CloudMemoryCache as a Cake Addin
#addin nuget:?package=CloudMemoryCache&version=1.0.2
// Install CloudMemoryCache as a Cake Tool
#tool nuget:?package=CloudMemoryCache&version=1.0.2
Why CloudMemoryCache?
Well, Azure Redis Cache is introduced as "High performance" here, it's still a network call to get/set a cache. The performance is inevitablely slower than reading from memory. Also from time to time the network connection will be fail. It's rare but it's nature of network. If cache is in memory, it's fast and reliable.
While MemoryCache has its pain points. You don't know what's in the memory now! Believe me, sometimes you do want to know. Another pain is that cache is seperated within process. You have multiple service instances for load-balancing. You think their cache are the same but actual not! Furthermore, after process exits, cache is gone!
So you need a bridge between cloud and memory. This is why CloudMemoryCache born. It's designed to connect the two ends and make your cache logic easier. You may think the concept is simple so it should be easy to make it out. Please continue to read more detailed document then you'll understand how we make it fit for production environment. Complexity comes from detail but we designed it in a way that hide complexity for you. More simple for you to use, less issue you will hit.
CloudMemoryCache is running inside more and more production services and benefitial more and more users. We sincerely welcome new users as you! Enjoy it!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- EnterpriseLibrary.TransientFaultHandling (>= 6.0.1304)
- Newtonsoft.Json (>= 8.0.2)
- RestSharp (>= 105.2.3)
- StackExchange.Redis (>= 1.0.488)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.