Microsoft Garnet vs NCache
Microsoft Garnet: Microsoft Research's .NET cache-store that speaks RESP and scales across cores and storage tiers. NCache: A native .NET distributed cache and data grid for Windows and Linux, with an Apache-licensed edition.
key differences
- Only Microsoft Garnet has transactions, vector search, geospatial.
- Only NCache has secondary indexes, full-text search, json, encryption at rest.
- Microsoft Garnet can run embedded in your application process.
choose garnet for
- +Redis-compatible caching for .NET-heavy stacks
- +High-throughput caches that need an SSD spill tier
- +Embedding a cache-store inside a .NET service
best at · Cache, Sessions, Pub/Sub
choose ncache for
- +ASP.NET session and output caching
- +EF Core second-level caching
- +Shared cache for .NET microservices on Windows or Linux
best at · Cache, Sessions, Pub/Sub
Microsoft Garnet vs NCache: FAQ
What is the difference between Microsoft Garnet and NCache?
Microsoft Garnet: Microsoft Research's .NET cache-store that speaks RESP and scales across cores and storage tiers. NCache: A native .NET distributed cache and data grid for Windows and Linux, with an Apache-licensed edition. Only Microsoft Garnet has transactions, vector search, geospatial. Only NCache has secondary indexes, full-text search, json, encryption at rest. Microsoft Garnet can run embedded in your application process.
When should I choose Microsoft Garnet over NCache?
Choose Microsoft Garnet for redis-compatible caching for .NET-heavy stacks, high-throughput caches that need an SSD spill tier and embedding a cache-store inside a .NET service. Choose NCache for ASP.NET session and output caching; EF Core second-level caching; and shared cache for .NET microservices on Windows or Linux.
Is Microsoft Garnet or NCache more popular?
Microsoft Garnet ranks #336 on the WhichDB Score (7.8/100) and NCache ranks #337 (7.8/100). Popularity is not fit: check the requirements that matter for your project.
Are Microsoft Garnet and NCache open source?
Yes. Microsoft Garnet is open source. License: MIT License. Yes. NCache is open source. License: Apache 2.0 (Open Source edition); Enterprise is commercial.