FusionCache
Lazy Cache
Our great sponsors
FusionCache | Lazy Cache | |
---|---|---|
9 | 9 | |
1,285 | 1,690 | |
13.8% | - | |
8.8 | 0.0 | |
3 days ago | 3 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FusionCache
-
Release Radar • March 2024 Edition
Want an easy to use cache with advanced resiliency features? Look no further than FusionCache. It's built for performance, good refresh rates, better auto-setup, better logs, and more. Congrats to the team on shipping your first major and stable version 🎉 and receiving over 3.8 million downloads.
- FusionCache Is Now v1.0
-
Caching as a cross cutting concern using MediatR's pipeline behavior
I wrote an internal nuget package for our team that does similar stuff to your work, although I called mine ICachedRequest. Unlike you I denied myself the enjoyment of exploring a custom caching solution and ended up injecting FusionCache into my mediatr behavior.
-
17 Amazing Community Packages for .NET Developers
The most undervalued library from that list is FusionCache. The rest is either well-known (like FluentAssertions) or pretty specific to the guy's experience (like the WPF stuff).
-
Multi level cache library (in memory + Redis)
The instances (using FusionCache for instance) sync over Redis pub/sub.
- What your hidden nuget gems ?
-
How to implement cache
LazyCache is amazing. Btw I'm using FusionCache and it is good too
-
Ask HN: What are some 'cool' but obscure data structures you know about?
If you are in the .NET space I suggest you to take a look at FusionCache. It has cache stampede protection built in, plus some other nice features like a fail-safe mechanism and soft/hard timeouts https://github.com/jodydonetti/ZiggyCreatures.FusionCache
Lazy Cache
-
Caching in .NET
Leverage Frameworks and Libraries: Numerous libraries and frameworks are available for .NET that can simplify caching implementation and management. Examples include CacheManager, EasyCaching, and LazyCache. Evaluate these options to see if they meet your requirements and can help streamline your caching strategy.
- What your hidden nuget gems ?
- Request for code review for IMemoryCache Generic Helper method
-
How to implement cache
We're using a wrapper library called LazyCache. It works fine.
-
Parallel.ForEachAsync Deep Dive
I wasn't aware of this LazyCache nuget, it would requires a bit of a code rewrite for me to use directly, but it seems nice. The only issue is that I see their AsyncLazy implementation does not do what the stackoverflow post mention.
- Capper - Strongly typed read-through caching extensions for .NET's IDistributedCache
- Libraries for Memory Caching which wrap objects like Moq
What are some alternatives?
Cache Tower - An efficient multi-layered caching system for .NET
CacheManager - CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
EasyCaching - :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!
SqliteCache for ASP.NET Core - An ASP.NET Core IDistributedCache provider backed by SQLite
NCache - NCache: Highly Scalable In-Memory Distributed Cache for .NET
CacheCow - An implementation of HTTP Caching in .NET Core and 4.5.2+ for both the client and the server
Electron.NET - :electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
Polly - Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.