DotNet Rene Utils Cache is a utility service library designed to implement a double-layer cache system. It stores data in both a memory cache and a distributed system cache.
The library provides too, a service that runs in the background to refresh cache entries and more.
- Memory Cache: Stores frequently accessed data in memory for quick retrieval.
- Distributed Cache: Stores data in a distributed system for scalability and fault tolerance.
- Cache Retrieval:
- First, attempts to read data from the memory cache.
- If the data is not found in the memory cache, it tries to retrieve it from the distributed cache.
- If the data is not found in the distributed cache, it reads from the original source and stores the data in both caches.
- Background Service: A service that runs in the background to refresh cache entries.
To install the library, you can use NuGet Package Manager in Visual Studio:
Contributions are welcome! Please open an issue or submit a pull request.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue on GitHub.
Thank you for using DotNet Rene Utils Cache!