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

Data Expiration Strategies in Cache

NCache supports time-based data expiration strategies where you can specify the time or interval to expire your cache data. Time-based data invalidation is used if changes to the data occur in a deterministic time fashion or where you can determine the frequency of data change. For example, region information may not be frequently updated, so you can use a time-based expiration to invalidate such data.

Note

This feature is also available in the NCache Community Edition.

Moreover, expiring stale data from the cache results in relevant and updated data being provided to the client. Expiring such data from the cache after a certain time will result in fresh data being loaded into the cache on the next client request.

Another use of data expiration is in maintaining sessions. If a session has been inactive for a certain time, it can be removed from the cache as it is idle.

NCache supports Absolute and Sliding Expirations, along with an extended flexibility to use multiple default expirations on one dataset. These will be discussed in detail in successive topics.

In This Section

Data Expiration Overview
Explains use cases and behaviors for Absolute Expiration, Sliding Expiration, and Default Expiration.

Absolute Data Expiration
Explains how to perform operations using Absolute Expiration.

Sliding Data Expiration
Explains how to perform operations using Sliding Expiration.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • 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