Redis alternatives: Redis to NCache Migration
NCache is an in-memory, distributed, and linearly scalable cache store, bein g an excellent Redis alternative provides a StackExchange.Redis wrapper. NCache's Redis wrapper requires no code change making the migration from Redis caching to NCache seamless. In this section, you will understand how already existing StackExchange.Redis clients can migrate from Redis to NCache.
Why NCache Wrapper for Redis
If you have an ASP.NET/.NET Core application and are already working on Redis, you should know that NCache is an ideal Redis alternative for StackExchange.Redis applications. NCache provides users with the following benefits:
SQL and LINQ Queries: NCache provides SQL and LINQ support for querying the cache based on object attributes, i.e., groups, tags, and named tags. This feature makes it easy to search for the data you have stored in the cache.
Server-Side Code (.NET): NCache allows you to deploy server-side code to run on the cache servers in the cluster. This rich set of features lets you develop and deploy server side code in .NET. Some features are Read-through, Write-through and the Cache Startup Loader and Refresher.
Keeping the Cache Fresh (Dependencies): NCache ensures your cache is always fresh, and you can confidently rely on its data integrity. If the cache data becomes stale, it is automatically updated in real time according to the database. NCache provides a list of features for this purpose, like Synchronize Cache with Database and Dependencies, unlike Redis, which only provides Expirations.
Cache Performance (Client Cache (InProc Speed)): NCache offers Client Cache (Near Cache), which is a local cache very close to your application. It gives your application InProc speed, meaning a faster retrieval of objects.
In this Section
Migrate from Redis Application to NCache
Explains the steps required to migrate from a Redis application to NCache, an ideal Redis alternative.