• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
Show / Hide Table of Contents

Data Loading Retries for Persistent Cache

A Distributed Cache with Persistence loads data from the persistence store on cache restart, node join, and leave. During loading, the persistence store can become inaccessible for a running cache due to network failure either for a brief period or a an infinite time. On connection loss with the store, the cache keeps trying to load data on the Load Failure Retry Interval until the connection to the persistence store is re-established.

How to Configure Data Loading Retries for Persistent Cache

You can configure the retry interval, the number of retries and the interval between each retry based on the NCache provided tags. These tags can be found in Alachisoft.NCache.Service.dll.config file present at %NCHOME%\bin\service in Windows and Alachisoft.NCache.Daemon.dll.config file present at NCache Install dir/bin/service in Linux.

The time interval after which the retry job retries to load data of failed buckets during loading can be changed against the NCacheServer.PersistenceLoadFailureRetryInterval key. The time is specified in minutes.

<add key="NCacheServer.PersistenceLoadFailureRetryInterval" value="3"/>

The number of times a failed bucket is retried to load can be changed against the NCacheServer.PersistenceLoadBucketFailureRetries key. Once these retries are exhausted, the retry job executes it in the background as per configuration.

<add key="NCacheServer.PersistenceLoadBucketFailureRetries" value="3"/>

The interval between each retry on a failed bucket can be changed against the NCacheServer.PersistenceLoadBucketFailureRetryInterval key. It is specified in seconds.

<add key="NCacheServer.PersistenceLoadBucketFailureRetryInterval" value="10"/>

See Also

Configure Caches
Configure NCache Persistence Settings
Server Connectivity
Windows Events
Logging

In This Article
  • How to Configure Data Loading Retries for Persistent Cache
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • 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 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top