Whilst working on Caching algorithm for my research program, came across a good .NET Caching reference at http://underscorehao.net/2019/07/auto-refreshing-cache-in-dotnet/.
This article however will deal with a very specific caching problem. How can you implement a cache that is refreshing itself after a specific amount of time with the following characteristics:
- Thread safety
- Not getting any cache misses (even if that means we’re returning stale data)
If that’s what you need, keep on reading
No comments:
Post a Comment