Step 1: Configure the Cache
Create a Clustered Cache named 'myQSReplicatedCache' as follows:
-
Launch NCache Manager from Start->Programs->NCache->NCache Manager.
-
Create a new project.
-
-
Cluster name: myQSReplicatedCache
-
Cluster Type: Replicated
-
Operation Timeout: 60 sec's (default)
-
Statistics Replication Interval: 600 sec (default)
-
Member Nodes: At least your current computer and maybe others if you want.
-
Cluster Port: 8714
-
Cache Name: Provide a unique identifier for the cache.
-
Maximum Size: 250MB (default)
-
Eviction: Priority based
-
Default Priority: Normal
-
Eviction Percentage: 5 (default)(In case of sessions it is recommended that turn off eviction)
-
Clean Interval (sec.): 15 (default)
-
-
Verify that cluster is running. For this, determine cache behavior by adding and removing objects from Statistics Window. You can go to the statistics window by right clicking the cluster and selecting Statistics in Manager.
-
Clear cluster to make it ready for your application.
Specifying InProc or OutProc Access Mode
Please note that this cluster has been configured to be used as OutProc. You can verify this by looking at the 'Isolation Level' property on the Main tab of the Cluster details window. If you want to change it to InProc, do the following:
See Also