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

Persistent Cache Interval

One of the important performance settings in NCache is the Persistent Cache Interval, a setting that dictates the intervals at which changes occurring in-memory are asynchronously synced to the backend Persistence Store. By configuring the Persistence Interval, administrators can balance data durability with system performance, ensuring that queued write operations are persisted at optimal intervals. You can configure Persistence Interval for your cache in the following ways.

How to Configure Persistence Interval via NCache Management Center

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

  • In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache for which you need to configure the settings. Select the cache name, click on View Details.

Important

Ensure the cache is stopped before proceeding.

Cache View Details

  • This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Persistence Settings in the left bar.

  • Change the Persistence Interval in the tab.

Configure Persistence Settings NCache Management Center

  • Click on Save Changes to apply this configuration to your cache.

  • Start the cache to resume operations.

Configure Persistence Interval Manually via config.ncconf

You can manually edit the NCache configuration file as explained below:

Important

Ensure the cache is stopped before making any configuration changes.

  • Update the persistence interval for a cache in config.ncconf by specifying the persistence-interval in the <data-persistence> tag.
<data-persistence ...>
    <operation-setting persistence-interval="1000ms" persistence-retries="3" persistence-interval-longer="60sec"/>
</data-persistence>
  • Once changes are made, start the cache, and restart the NCache Service.

See Also

Create Distributed Cache with Persistence
Distrbiuted Cache with Persistence Counters
Configure NCache Persistence Settings

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