For a comprehensive list of all features in NCache, please read NCache Features.
NCache can now be used in Microsoft Azure with all its features. NCache can be deployed in Microsoft Azure in two ways:
NCache can be used from applications running in Azure environment as Web Roles, Worker Roles, or simple Virtual Machines. Additionally, the following features are available in Microsoft Azure environment which are not provided by any other caching solution:
NCache can be deployed with applications from Visual Studio by using NuGet. NCache now provides a NuGet package that can be used to simplify work.
NCache can now be used in the Amazon Web Services (AWS) Cloud environment with all its features. There are two ways to deploy NCache in AWS:
In AWS, NCache can either reside on the same Virtual Machine as the applications that are using it, or on seperate Virtual Machines. The following caching features are available in AWS:
Memcached Wrapper for NCache provides a no-code-change way for migrating Memcached applications to a powerful elastic distributed cache. See more details on the NCache vs. Memcached comparison page.
The Memcached Wrapper for NCache can be used in the following two ways:
The Memcached plug-in option is for .NET applications. Alachisoft has taken all the popular Open Source Memcached client libraries and implemented them for NCache. These libraries for .NET are:
The Memcached Gateway implements Memcached Protocols and supports all types of Memcached applications. Applications are directed to the Memcached Gateway and they start using NCache behind the scenes.
Bridge Topology is a popular feature of NCache which allows intelligent replication of the entire cache across the WAN. NCache 4.3 offers the following new features for Bridge Topology:
Active-passive Bridge configurations can easily be switched to active-active or reverse active-passive configurations (making the active cache passive, and the passive cache active) at runtime without stopping any of the caches or the Bridge.
This new feature is capable of handling disaster recovery situations. For example, if the active cache in an active-passive configuration goes down, the passive cache becomes active. When the cache is brought back up, it can be configured to become active again, and the currently active cache is reverted back to its original passive mode.
Active-passive configurations can also be converted to active-active configurations without stopping the cache or the application.
Cache administrators can now temporarily disconnect caches from the bridge while the bridge is running. When a cache is disconnected, no data is transferred between the bridge and the disconnected cache. The cache on the other side of the bridge stops queuing data to the bridge as the disconnected cache is not able to receive any data. The cache can be reconnected at any time. When this happens, everything goes back to the way it was.
Object Query Language (OQL) has been enhanced by adding two features to it. These features are:
GROUP BYqueries and obtain a result set that includes counts of items in the cache groups by attribute values.
Data encryption included 3DES encryption. This has now been enhanced to also include AES-256 encryption. Another enhancement made is to also encrypt indexing data when encryption is enabled.
Following enhancements have been made to compact serialization.
You can now specify whether to receive data with the event or only the event. In many situations, you may want the data along with the event to guarantee that you’re getting the copy that was actually modified. This is because if you don’t receive data with events and your application then fetches the data from the cache, somebody else might have changed this data by that time.
By default, data or metadata is not sent with the events to clients.
NCache now comes with API logging feature that can be turned on through a configuration file change. This is very useful to you and Alachisoft tech support if you’re facing any issues related to NCache. You can enable this logging and NCache quickly logs all the API calls that your application is making and in what sequence.
With this information, Alachisoft tech support can quickly narrow down the potential problem and help resolve it. You can also quickly see an accounting of all the NCache API calls that various parts of your application are calling.
NuGet is a package manager for Microsoft Visual Studio development in .NET. The NuGet Gallery is a central repository of all NuGet packages.
NCache for Azure now provides NuGet package for Microsoft Azure Cache. This package is for Microsoft Azure based caching by NCache. It provides NCache for Azure client libraries and client-side configuration files to facilitate your .NET development.
CacheInitParams while initializing cache can now cover everything that can be configured in client.ncconf. Previously, client.ncconf was always required to initialize a cache. Configurations passed through
CacheInitParams have an overriding effect on the settings configured in client.ncconf.
InProc cache (Local Cache and Client Cache) now keeps objects in de-serialized form. This removes the cost of serialization and de-serialization that would otherwise be needed for fetching and storing objects in the cache.