General Configurations
The General Configurations section includes settings related to NCache Management Center startup, cache startup behavior, asynchronous replication, and SQL Server Dependency. Each configuration controls a specific aspect of NCache's operational behavior.
Start Web Management
StartWebManagement is a flag that specifies whether the NCache Management Center should automatically start when the NCache service starts.
<add key="NCacheServer.StartWebManagement" value="True"/>
Configure Cache Startup Loader Delay
To ensure cluster stability and data integrity, users can introduce a delay in the Cache Startup Loader. This prevents potential data loss that may occur if operations begin while members are still joining the cache. This is done by setting the following property:
<add key="NCacheServer.CacheLoaderStartupDelay" value="20"/>
The value of this property is set in seconds. By default, this value is 20 seconds while the minimum value is 10 seconds.
Bulk Items to Replicate
In Mirror and Partition-Replica cache topologies, NCache replicates items asynchronously to their respective backup nodes in batches.
- In Mirror topology, the backup node is a passive node.
- In Partition-Replica topology, the backup node is a replica node.
The
BulkItemsToReplicatesetting specifies the number of items included in a single batch that is sent to the backup node during one asynchronous replication call.
<add key="NCacheServer.BulkItemsToReplicate" value="50"/>
SQL Server Dependency
Using the NCacheSQLNotificationQueue tag, users can specify pre-created queues for receiving SQL Server notifications. You can modify the default prefix of the SQL dependency queue name by configuring the following key in the server configuration file:
<add key="NCacheServer.NCacheSQLNotificationQueue" value="NCacheSQLQueue"/>
See Also
Cache Management
Cache Settings
Client Connectivity Settings
Windows Events