• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Test-Stress Cache

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>:8251 on Windows and Linux.

  • In the left navigation bar, click on Clustered Caches. This opens up the Clustered Caches page at <server-ip>:8251/ClusteredCaches/.

NCache Web Manager Test Stress

  • Select your cache and click on Test-Stress Button.

  • 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.

Test Stress Drop Down Menu

  • Once Test-Stress has started, click on Statistics Button 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.
Note

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.

Cache Statistics Page

Using PowerShell

You can also perform a stress test on your cache using the PowerShell. This is done using the Test-Stress cmdlet.

Examples

  • This command executes Test-stress on a cache named demoClusteredCache with default settings.
Test-Stress -CacheName demoClusteredCache

See Also

Set Up PowerShell Environment
Export-Cache​Keys
Stop-Cache

Back to top Copyright © 2017 Alachisoft