• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Test Data To Verify Cache Performance

The Test-Stress tool, available in NCache Management Center or via the Add-TestData command-line utility, simulates a transactional load to verify cache performance, connectivity, and cluster health. It adds and expires test data, allowing real-time monitoring of key metrics like Additions/sec, Fetches/sec, Gets/sec, and expirations through NCache Monitor, Statistics view, or PerfMon.

This tool helps quickly verify that cache clients can interact with cache servers and is ideal for cluster validation, and performance monitoring.

How to Simulate Test Data Using the NCache Management Center

Follow the steps mentioned below to simulate your cache usage under stress through the NCache Management Center:

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251.

  • From the left navigation bar, click on Clustered Caches.

A screenshot of the NCache Management Center showing the Clustered Caches section with available cache options.

  • Select the cache you want to simulate and click on the "..." button against it. This will open up a dropdown menu of various operations that you can perform on a cluster.

Dropdown menu in NCache Management Center showing available operations for a clustered cache, including options like Monitor Cluster and Show Statistics.

  • From these options, select Monitor Cluster if you want to visually see the counters updating, or select Show Statistics if you want to view the statistics of the cache you want to simulate.

How to Simulate Test Data Using the NCache Monitor

The NCache Monitor provides a graphical view dashboard to monitor various cache counters. If you choose to view cache usage simulation through the NCache Monitor, follow these steps:

  • Click on the Test-Stress button. This will open up a dialog box through which you can customize your simulation.

  • In the dropdown, you can choose the Test-Stress Timer for 10 or 30 seconds or 1, 3, or 5 minutes, depending on your choice.

  • As soon as you click the Start button, you can visualize the various cache operations that take place on the Client Dashboard.

  • You can view that the data is being added to the cache through the counters displayed on the NCache Monitor. After the set expiration interval has elapsed, the counters will show data being removed from the cache.

How to Simulate Test Data Using the NCache Statistics

NCache Statistics provides a report view of various cache counters. If you choose to simulate cache usage through statistics, then follow these steps:

  • On the statistics board, click on the Test-Stress button. This opens up a dialog box through which you can customize your simulation.

NCache Statistics screen showing the Test-Stress Tool dialog box with options to set the simulation timer for cache stress testing.

  • In the dropdown, you can choose the Tess-Stress timer for 10 or 30 seconds or 1, 3, or 5 minutes, depending on your choice.

  • As soon as you press the Start button, you can view the statistics for different operations on the cache like Additions/sec and Fetches/sec, etc.

  • You can view that the data is being added to the cache through the counters shown on the screen. After the set expiration interval has elapsed, the counters will show data being removed from the cache.

NCache Statistics dashboard showing cache performance counters like Additions/sec, Fetches/sec, and expiration data during the Test-Stress simulation.

How to Simulate Test Data Using Command Line Tools

The Add Test Data tool enables the user to add some test data to the cache to check if the cache has started and is working properly. The following command adds test data to the cache named demoCache. It adds 40 items to the cache and the data added will expire after the time duration of 5 minutes.

  • Windows
  • Linux
Add-TestData –CacheName demoCache –ItemCount 40
add-testdata -cachename demoCache -itemcount 40

See Also

Create a Cache
Remove Cache
Remove Server Node
Configure Query Indexes

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top