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

Local Cache Configuration

The Local Cache Configuration page displays the configuration settings of a selected local cache. This view is opened by clicking View Details for a cache on the Local Caches page.

The toolbar provides options for starting, stopping, or restarting the cache, running Test-Stress, viewing statistics, and refreshing the displayed information. The availability of these operations depends on the current state of the cache.

Main

The Main page contains the basic storage and runtime settings of the local cache.

Local Cache Main Settings

  • Cache Size specifies the maximum cache size in MB.

  • Isolation Level specifies whether the cache runs in the NCache service process or within the application process.

  • Auto start this cache on service startup determines whether the cache starts automatically when the NCache service starts.

Policies

The Policies page provides eviction and expiration settings that control how cache items are removed.

Local Cache Policies

  • The Eviction Policy section allows eviction to be enabled and configured by selecting a policy, default priority, and eviction percentage.

  • Percentage specifies the portion of cached data considered for eviction when space is required.

  • The Expiration Policy section provides the Clean Interval, which specifies how frequently the cache checks for expired items.

  • Default expiration values can be configured for Default Absolute, Default Absolute Longer, Default Sliding, and Default Sliding Longer.

Query Indexes

The Query Indexes page allows classes and their attributes to be configured for indexing.

Local Cache Query Indexes

  • Configured classes and attributes are displayed in the main list.

  • The Add and Remove buttons allow query index entries to be added or removed.

Backing Source

The Backing Source page provides settings for integrating the local cache with an external data source through read-through and write-through providers.

Local Cache Backing Source Providers

  • The Read Through section allows read-through to be enabled and providers to be added.

  • The Write Through section allows write-through to be enabled and providers to be added.

  • Provider entries display the provider name, class name, library name, and configured parameters.

Local Cache Backing Source Write-Behind Settings

  • The Batching section allows batching to be enabled and provides the Operation-delay and Batch-Interval settings.

  • The Throttling section provides an Operations field for configuring the write-behind operation rate.

  • The Re-Queue Operations section provides the Failed operations queue limit and Failed operations eviction ratio settings.

  • The Deploy Backing Source Provider option is available for deploying provider assemblies and their dependent assemblies.

CacheLoader / Refresher

The CacheLoader / Refresher page provides settings for loading data when the cache starts and periodically refreshing configured datasets.

Local Cache Loader and Refresher

  • Select Enable Cache Loader and Refresher to enable the feature.

  • The Load Assembly section allows the provider assembly and implementing class to be selected.

  • The Parameters section allows startup parameters to be added as key-value pairs.

Local Cache Loader and Refresher Options

  • The Datasets section allows datasets and their scheduling information to be configured.

  • Refresh-Interval specifies the periodic interval used by the refresher.

  • No. of Retries and Retry-Interval configure the retry behavior for failed loading operations.

  • Poll for dataset names to refresh at every refresh interval controls whether the provider is queried for dataset names during each refresh interval.

  • The Deploy Cache Loader option is available for deploying the loader or refresher assembly and its dependencies.

Options

The Options page contains additional settings for notifications, logging, performance counters, compression, SQL notifications, and client activity notifications.

Local Cache Options

  • The Notifications section provides item-added, item-removed, and item-updated notification options.

  • Expiry Time specifies how long generated event information remains available in the cache.

  • The Error Logging section allows error logging and detailed error logging to be enabled.

  • Log File Path can be used to specify a location for cache log files.

Additional Local Cache Options

  • The Performance Counters section allows performance counters to be enabled or disabled.

  • The Compression section allows compression to be enabled and provides a Threshold Size in KB.

  • The Custom SQL Notification Mode section allows a custom SQL notification service and queue to be used with NCache SQL dependency.

  • The Client Activity Notifications section allows notifications for client connection and disconnection activity to be enabled.

  • Retention Period specifies the interval after which a disconnected client is treated as disconnected for notification purposes.

Security and Encryption

The Security and Encryption page provides authorization and encryption settings for the local cache.

Local Cache Security and Encryption

  • The Authorization section allows users or groups to be searched for and added to the cache authorization list.

  • Node security must be enabled before users or groups can be added.

  • The Encryption section allows encryption to be enabled and provides fields for selecting an encryption provider and entering its key.

Email Alerts

The Email Alerts page provides SMTP and recipient settings for sending notifications when selected local cache events occur.

Local Cache Email Alert Settings

  • Select Enable Email Notifications to enable email alerts.

  • The Email Settings section contains fields for the sender email address, SMTP server, and port.

  • TLS can be enabled and a TLS Version can be selected.

  • SMTP authentication can be enabled by providing a login and password.

Local Cache Email Alert Events

  • The Email recipient(s) & Events section allows recipient email addresses to be added and displays the configured recipients.

  • Notifications can be selected for the available events, including Cache Start, Cache Stop, and Cache Size.

The Save Changes and Discard Changes buttons are available on the configuration page to apply or revert modifications.

See Also

Local Caches
New Local Cache

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