Expiration and Eviction
The following page details the various options you can avail in order to configure Expiration or Eviction, such as ExpirationBulkRemoveSize
and EvictionBulkRemoveSize
as detailed below.
Important
In case you want to update any cache settings, please refer to the Update Cache Config section to follow the set of steps.
Configure Expiration
Expired items are removed in bulk. ExpirationBulkRemoveSize
specifies the size of the bulk operation, i.e., how many items should be removed in one bulk operation.
<add key="NCacheServer.ExpirationBulkRemoveSize" value="10"/>
Expired items are removed in bulk. This may affect the performance of user operations during expirations. This delay, specified (in milliseconds) causes a delay between two consecutive bulk removal operations.
<add key="NCacheServer.ExpirationBulkRemoveDelay" value="0"/>
Configure Eviction
During eviction, items are removed in bulk. Specify the size of the bulk operation, i.e., how many items should be removed in one bulk operation. EvictionBulkRemoveSize
has the default value of '10'.
<add key="NCacheServer.EvictionBulkRemoveSize" value="10"/>
During eviction, items are removed in bulk. This may affect the performance of user operations during expirations. This delay, specified (in seconds) causes a delay between two consecutive bulk removal operations.
<add key="NCacheServer.EvictionBulkRemoveDelay" value="0"/>
See Also
Configure Caches
Cache Settings
Server Connectivity
Windows Events