Try Playground
Show / Hide Table of Contents

Distributed Cache Client Settings

You can configure settings specific to the distributed cache client node as well using the NCache Management Center or by Manually Editing NCache Configuration for each and every client node.

Note

You might get prompted with a dialog box upon these changes, asking whether to reload or overwrite the cache config file.

Distributed Cache Client: Using the NCache Management Center

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251 on Windows and Linux.

  • In the left navigation bar, click on Local Caches, based on the cache to configure. Against the cache name, click on View Details.

Detailed settings page

  • This opens up the detailed configuration page for the cache. Go to the Client Nodes tab and click on the Client Settings Icon NCache Web icon to open client node settings.

  • On the Main tab, you can configure Connection Timeout, Connection Retries, Retry Interval, and Client Request Timeout. All values are in seconds.

Client Settings Main NCache Web

  • Using the Settings tab, you can:

    1. Enable/Disable client load balancing using the check box Enable Client Load Balancing.

    2. Specify Server Priority for this client.

    3. Change the Sync Mode of the client cache to either Optimistic or Pessimistic.

Client Settings NCache Web

  • At the Backing Source tab, you can select the default Read-Thru and/or Write-Thru providers, only if these providers are configured for the cache.

Client Settings Backing Source NCache Web

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

Manually Editing Distributed Cache Client Settings

Important

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

In client.ncconf of the server node, add the following information under the <configuration> tag:

<ncache-server connection-retries="10" retry-connection-delay="0" retry-interval="1" command-retries="3" command-retry-interval="0.1" client-request-timeout="90" connection-timeout="5" port="9800"/>
<cache id="demoCache" client-cache-id="demoClientCache" client-cache-syncmode="optimistic" skip-client-cache-if-unavailable="True" reconnect-client-cache-interval="10" default-readthru-provider="" default-writethru-provider="" load-balance="True" enable-client-logs="False" log-level="error">
<server name="20.200.20.39"/>
</cache>
Note

Repeat this step for all client nodes.

See Also

Cache Settings
Cache Server Settings
Configure Security
Client Cache Settings

In This Article
  • Distributed Cache Client: Using the NCache Management Center
  • Manually Editing Distributed Cache Client Settings
  • 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