Simulate Cache Usage in NCache Professional
Test Stress Through NCache Web Manager
Follow the steps mentioned below to simulate your cache usage under stress through NCache Web Manager:
Launch NCache Web manager by browsing
From the left navigation bar, click on Clustered Caches.
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 the stress test. After selecting the time, click on the start button.
View Simulation Through NCache Statistics
- Go to the statistics page by clicking against your selected cache in the NCache Web Manager.
- You can view that the data is being added in the cache through the counters shown on screen as long as the stress test is running.
Test Stress through NCache PowerShell Cmdlet
You can quickly test the performance of the cache under stress using the
Test-Stress cmdlet. This command generates heavy transactional load on a specified cache by feeding it sample data automatically. The following example demonstrates how to use Test-Stress command in the PowerShell:
Test-Stress –CacheName demoCache
This command starts making cache calls to the cache servers as Test-Stress simulates transactional load on the specified cache.