Monitor Write-through Cache Counters
In a Write-through cache, NCache provides the counters as discussed on this page to monitor cache activity on data sources.
Monitor Write-through Cache Counter Details
Folowing are some Write-through cache counter details that you can monitor.
Write-thru/sec: Displays the number of the Write-through operations per second.
Write-behind/sec: Displays the number of the Write-behind operations per second.
Write-behind queue count: Displays the number of operations in the Write-behind queue.
Write-behind failure retry count: Displays the number of operations that failed and re-queued for retry. Data source write operation returning
FailureRetry
will be re-queued.Write-behind evictions/sec: Displays the number of retried operations evicted per second. Data source write operation returning
FailureRetry
are requeued for retry.Average Write-behind Updates: Average time, in milliseconds, taken to complete one data source update cache operation. Data source write operations with the
UpdateInCache
flag set to true inOperationResult
are then performed on the cache.Datasource updates/sec: Displays the number of update operations per second in the cache after data source write operations. Data source write operations with the
UpdateInCache
flag set to true in operation results are then performed on the cache. This counter displays a number of these update operations performed on the cache per second.Datasource failed operations/sec: Displays the number of data source write operations failed per second. Write operations performed on data source returning
Failure
/FailureRetry
/FailureDontRemove
asOperationResult.Status
ofOperationResult
are counted per second by this counter.Current batch operations count: Displays current batch operation count, i.e., the number of operations selected in the current batch interval for execution. For Write-behind, if batching is enabled, operations ready to be executed on the data source are dequeued from the Write-behind queue.
See Also
.NET: Alachisoft.NCache.Runtime namespace.
Java: com.alachisoft.ncache.runtime.datasourceprovider namespace.