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

Cache Loader and Refresher

NCache provides Cache Loader and Refresher to help initialize cache data at startup and keep preloaded data synchronized with the data source. These features are useful when applications require important datasets to be available in the cache immediately after startup instead of waiting for data to be loaded on demand.

Cache Loader pre-populates the cache with selected data when the cache starts. This helps avoid cold-start latency, reduces repeated database trips at startup, and ensures that frequently used or performance-critical data is available as soon as the cache becomes active.

Cache Refresher keeps the loaded data up to date after it has been added to the cache. Since data loaded at startup can become stale when the source data changes, Cache Refresher updates configured datasets based on a schedule or through an on-demand refresh operation.

NCache uses datasets to organize the data loaded and refreshed by the Cache Loader and Refresher. A dataset is a logical group of related data that can be loaded together and refreshed independently. In clustered caches, datasets also help distribute loading work across cache server nodes so startup loading can complete more efficiently.

Cache Refresher supports different scheduling options for keeping datasets synchronized with the data source:

  • Interval: Refreshes a dataset after a recurring interval.
  • Daily: Refreshes a dataset at a specific time every day.
  • Weekly: Refreshes a dataset on selected days of the week.
  • Monthly: Refreshes a dataset on selected days or weeks of the month.

You can also refresh a dataset manually at runtime. This is useful when a dataset needs to be updated immediately or before its next scheduled refresh time.

To use Cache Loader and Cache Refresher, you need to configure the loader/refresher implementation, define datasets, configure refresh schedules where required, and deploy the loader assemblies to the cache server nodes.

In This Section

Configure Cache Loader and Refresher
Explains how to configure Cache Loader and Cache Refresher using the NCache Management Center and PowerShell.

Invoke Refresher Dataset
Explains how to manually refresh a configured dataset at runtime using the NCache Management Center or PowerShell.

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