Redis to NCache Migration
NCache, an in-memory, distributed and linearly scalable cache store provides a StackExchange.Redis wrapper with no code change that makes the migration from Redis caching to NCache seamless for you. In this section, you will understand the steps for how an already existing StackExchange.Redis client can migrate from Redis to NCache using the NCache wrapper for StackExchange.Redis.
Why NCache Wrapper for Redis
If you have an ASP.NET/.NET Core application and are already working on Redis then also take a look at NCache as it is an ideal Redis alternative for StackExchange.Redis applications. Using NCache for a StackExchange.Redis application provides with the listed following benefits.
SQL Search and LINQ: NCache provides SQL and LINQ support for searching the cache based on object attributes, groups/subgroups, tags and named tags This makes it really 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. A rich set of features are provided to let you develop and deploy server-side code in .NET. Some features are Read-through, Write-through and Cache Loader.
Keeping the Cache Fresh (Dependencies): NCache makes sure your cache is always fresh and you can confidently rely on its data integrity. If the data in cache becomes stale, it is immediately updated to that of the database. NCache provides a list of features for this purpose like Synchronize Cache with Database and Dependencies unlike Redis which gives only through Expirations.
Cache Performance (Client Cache (InProc Speed)): NCache offers Client Cache (Near Cache) which is basically a local cache very close to your application (InProc/OutProc). 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 a Redis application to NCache.