Monitor Write-Through Counters
In Write-Through caching, NCache provides the following counters to monitor cache activity on data source:
Write-Through/sec: Displays the number of Write-Through operations per second.
Write-behind/sec: Displays the number of Write-Behind operations per second.
Write-behind queue count: Displays the number of operations in Write-Behind queue.
Write-behind failure retry count: Displays the number of operations failed and re-queued for retry. Data source write operation returning
FailureRetry
will be re-queued. This counter displays re-queued operation count.Average Write-Behind Updates: Average time, in milliseconds, taken to complete one data source update cache operation. Data source write operations with
UpdateInCache
flag set to true inOperationResult
are then performed on cache. This counter displays the average time taken by these update operations on cache.Write-behind evictions/sec: Displays the number of retried operations evicted per second. Data source write operation returning
FailureRetry
are re queued for retry. This counter displays number of such operations evicted per second.Data source updates/sec: Displays the number of update operations per second in cache after data source write operations. Data source write operations with
UpdateInCache
flag set to true in operation result are then performed on cache. This counter displays number of these update operations performed on cache per second.Data source failed operations/sec: Displays the number of data source write operations failed per second. Write operations performed on data source returning
Failure
/FailureRetry
/FailureDontRemove
asDSOperationtatus
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 current batch interval for execution. For Write-Behind, if batching is enabled, operations ready to be executed on data source are de-queued from write behind queue. The number of operations de queued in current batch interval will be displayed by current batch operation count counter.
See Also
Configuring WriteThru Provider
Using Write-Behind with Basic Operations
Using Write-Behind with Bulk Operations