Use NCache for Data Caching in Professional
To get started with NCache in the production environment, NCache provides various pre-built samples that implement the usage of fairly prominent features of NCache. In this chapter, we will quickly go through a demonstration of NCache.
Before you go through how to use NCache, we will explore some of the features that NCache provides in the Professional Edition.
Basic Operations: NCache provides various CRUD operations to be performed on the cache for caching data. That data can be a single item or bulk of items and can be accessed only synchronously. To have a better understanding of how Basic operations operate, refer here.
Data Expiration: NCache supports time-based data expiration strategies where you can specify the time or interval to expire your cached data. This ensures that the expiring stale data from the cache would result in fresh data being loaded in cache on the next client request. To further take a look at the feature, refer to Data Expiration Strategies.
Item Locking: NCache provides an efficient locking mechanism for data synchronization and integrity within the cache store being updated by different parallel clients. NCache internal locking guarantees the consistency of data across the entire cache cluster for every update of data. To have a better understanding, refer to Locking Data For Concurrency and Control.
Pub/Sub Messaging: NCache supports Pub/Sub messaging paradigm to exchange messages between multiple applications without any knowledge of the sending or receiving applications. NCache acts as a medium for the topic messages so that the publisher publishes and subscriber subscribes to that particular message. To have a better look, refer to Pub/Sub Messaging.
In This Section
Use NCache for Data Caching in .NET Core Professional Edition
Describes how to use your .NET Core sample application along with NuGet packages.
Use NCache for Data Caching in Java Professional Edition
Explains how to get started with your Java sample application.