SaaSHub helps you find the best software and product alternatives Learn more →
Top 17 C# Cache Projects
-
garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
-
Akavache
An asynchronous, persistent key-value store created for writing desktop and mobile applications, based on SQLite3. Akavache is great for both storing important data as well as cached local data that expires.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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!
-
Lazy Cache
An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
-
FFImageLoading - Fast & Furious Image Loading
Image loading, caching & transforming library for Xamarin and Windows
-
FusionCache
FusionCache is an easy to use, fast and robust cache with advanced resiliency features and an optional distributed 2nd level.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
SmartSql
SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
-
FastCache
7x-10x faster alternative to MemoryCache. A high-performance, lighweight (8KB dll) and thread-safe memory cache for .NET. (by jitbit)
-
fast-cache
The fastest cache library written in C# for items with set expiration time. Easy to use, thread-safe and light on memory.
-
Obaki.LocalStorageCache
Obaki.LocalStorageCache is a simple and easy-to-use library that can help you improve the performance of your web application by caching data locally in the browser.
-
OpenWeatherMap.Cache
An asynchronous .NET Standard 2.0 library that allows you to fetch & cache current weather readings from the OpenWeather API, with built-in resiliency that can extend the cache lifetime in case the API is unreachable.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09You would be surprised by performance of modern .NET :)
Writing no-alloc is oftentimes done by reducing complexity and not doing "stupid" tricks that actually work against JIT and CoreLib features.
For databases specifically, .NET is actually positioned very well with its low-level features (intrisics incl. SIMD, FFI, struct generics though not entirely low-level) and high-throughput GC.
Interesting example of this applied in practice is Garnet[0]/FASTER[1]. Keep in mind that its codebase still consist of un-idiomatic C# and you can do way better by further simplification, but it already does the job well enough.
[0] https://github.com/microsoft/garnet
[1] https://github.com/microsoft/FASTER
If its caching you could just use ready made packages - https://github.com/jamesmontemagno/monkey-cache - https://github.com/reactiveui/akavache/
Project mention: EasyCaching VS Metalama.Patterns - a user suggested alternative | libhunt.com/r/EasyCaching | 2023-12-07
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.
For pure key-value storage .net has IDistributedCache abstraction, with SQLite implementation. (This has no dependencies on asp.net core and can be used in any .net app)
C# Cache related posts
-
Redis License Changed
-
Garnet – A new remote cache-store from Microsoft Research
-
FusionCache Is Now v1.0
-
Caching as a cross cutting concern using MediatR's pipeline behavior
-
Storing query results
-
Multi level cache library (in memory + Redis)
-
Caching in .NET
-
A note from our sponsor - SaaSHub
www.saashub.com | 9 May 2024
Index
What are some of the best open-source Cache projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | garnet | 9,326 |
2 | Akavache | 2,411 |
3 | CacheManager | 2,325 |
4 | EasyCaching | 1,856 |
5 | Lazy Cache | 1,696 |
6 | FFImageLoading - Fast & Furious Image Loading | 1,405 |
7 | FusionCache | 1,320 |
8 | SmartSql | 1,047 |
9 | StackExchange.Redis.Extensions | 595 |
10 | Cache Tower | 582 |
11 | BitFaster.Caching | 390 |
12 | FastCache | 104 |
13 | Cashew | 83 |
14 | SqliteCache for ASP.NET Core | 71 |
15 | fast-cache | 70 |
16 | Obaki.LocalStorageCache | 8 |
17 | OpenWeatherMap.Cache | 6 |
Sponsored