Distributed Lucene with Persistence Counters
NCache provides various cache server counters to monitor the performance of cache servers. You can monitor all these counters for a specific cache on any Windows machine using either the NCache Monitor or PerfMon tool.
Distributed Lucene with Persistence Counter Details
These counters include:
Counters | Description |
---|---|
Indexes |
The total number of indexes created by the user, each identified by a unique name. An index is created when an NCacheDirectory is opened, if an index with the same name is already present, then a new one won't be created. |
Index Size |
The size of all indexes on that particular node. Main and replica nodes are differentiated, so in the case of POR topology, the main node will only consider the main portions of all indexes and the replica will follow suit. |
Documents |
Total number of documents on that node. Ideally, the number of documents on the replica node should be the same as its corresponding main node. |
Commits |
Total number of commits that have occurred on that node. Commits do not persist, so after a node restarts, they are reset, in case of state transfer, the commit count is not carried over. Commits include all commits initiated by the user, as well as those done automatically by the flush policy. |
Additions/sec |
Number of document insertions per second for a node. |
Updates/sec |
Number of update operations on documents per second for a node. |
Deletes/sec |
Number of all types of delete operations per second for a node. Since delete operations are query-based and there are multiple writers performing the delete operation, it is difficult to calculate the total number of deleted documents, so one delete operation might be deleting just 1 document or 1000. |
Fetches/sec |
Number of 'get' type operations performed per second on a node. For example, GetDocCount is a fetch operation. |
Searches/sec |
Number of query-based operations performed per second on a node. Strictly speaking, not all operations performed on IndexSearcher are considered search operations, e.g., CollectionStatistics, which returns stats for a particular field is a fetch operation. |
Requests/sec |
Total number of all types of requests received by the Lucene module. |
State Transfer/sec |
The number of bytes being transferred per second upon state transfer. |
Avg ms/add |
The average time in milliseconds an Add operation takes. |
Avg ms/update |
The average time in milliseconds an Update operation takes. |
Avg ms/delete |
The average time in milliseconds a Delete operation takes. |
Avg ms/fetch |
The average time in milliseconds a Fetch operation takes. |
Avg ms/search |
The average time in milliseconds a Search operation takes. |
Buckets to Send |
The number of buckets a node has to send (if any) to other nodes. A scenario to see this in action is to create a two-node cluster (POR) and just start the first node. You should see 50 buckets which the starting node has to send to the 2nd (stopped) node, upon starting the 2nd node, this will go down to zero. |
Buckets to Receive |
The number of buckets a node has to receive (if any) from other nodes. Since state transfer occurs very quickly, it is difficult to see this updating, as the node will receive all of its buckets as soon as it is started. But the above scenario will suffice, just keep an eye on the 2nd node. |
Replication Queue Count |
The number of operations the main node has to replicate to its replica node, this will include all types of operations. |
Live Instances |
The total number of live instances (objects such as Writers, Readers, and Searchers) currently instantiated by the client. Disposed objects are removed (objects are disposed of client disconnection as well). Unlike commits, live instances are carried over to the new nodes. |