You can generate heavy transactional load on a specified cache in order to monitor NCache performance under stress in a given environment using Test-Stress.
Using NCache Web Manager
Launch NCache Web Manager by browsing to http://localhost:8251 or
<server-ip>:8251on Windows and Linux.
In the left navigation bar, click on Clustered Caches. This opens up the Clustered Caches page at
Select your cache and click on .
Once the Test-Stress button is clicked, you will be prompted with a drop down menu where you will have to specify the time for Test-Stress. After selecting the time, click on the start button.
- Once Test-Stress has started, click on from the toolbar. This will lead you to the statistics page where you will be able to monitor your cache under stress by observing the cache counters.
The default dashboard displays the counters based on your selected cache and its store type. You can monitor NCache Counters for caches with different store types by following the same steps.
You can also perform a stress test on your cache using the PowerShell. This is done using the Test-Stress cmdlet.
- This command executes
Test-stresson a cache named demoClusteredCache with default settings.
Test-Stress -CacheName demoClusteredCache