Monitoring in NCache

NCache provides several built-in tools and APIs for monitoring cache clusters:

  1. NCache Manager (GUI): Visual dashboard to monitor cluster health, client connections, throughput, memory usage, etc.

  2. PerfMon Counters: Integration with Windows Performance Monitor for detailed metrics.

  3. Command-Line Tools: NCache PowerShell and CLI utilities for scripting.

  4. NCache Alerts & Notifications: Subscribe to cache events (node join/leave, cache start/stop, item eviction, etc.).

Practical Scenario: Real-Time Alerts

Let’s say you want to be notified if:

  • A cache node leaves the cluster.

  • A cache goes down.

  • Cache size exceeds a threshold (memory pressure).

We’ll use NCache's event notification system to implement this.