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

Persistence Interval

NCache Distributed Cache with Persistence allows you to backup data to persistence store. All write operations are first performed in-memory and then enqueued for replication to the backend store. The persistence thread is invoked at a configurable interval called Persistence Interval to store the queued operations asynchronously.

You can configure persistence-interval for your cache in the following ways.

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 or Local Caches, based on the cache for which you need to configure the settings. Against the cache name, click on View Details.

Note

Make sure that the cache is stopped.

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.

Configure Persistence Settings NCache Web Manager

  • Change the Persistence Interval in Persistence Interval tab.

Configure Persistence Settings NCache Web Manager

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

  • Start the cache to resume operations.

Manually Editing NCache Configuration

Important

Make sure the cache is stopped before making any configuration changes.

  • Update the persitence interval for a cache in config.ncconf by specifying the persistence-interval key in the <data-persistence> tag.
<data-persistence ...>
    <operation-setting persistence-interval="1000ms" persistence-retries="3" persistence-interval-longer="60sec"/>
</data-persistence>

See Also

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

Back to top Copyright © 2017 Alachisoft