Try Playground
Show / Hide Table of Contents

Client Death Detection

If a client is connected and it disconnects via a cache.dispose command, the server knows it is disconnected and frees the related resources. However, if it unexpectedly disconnects due to a crash or network glitch, the server does not know.

The Client Death Detection setting allows the server to monitor if a client is disconnected from all cache servers in a clustered cache. This process lets the server internally establish what clients are live and have data and which have been disconnected. The server then frees up resources as necessary to avoid wastage.

Note

This feature can only be enabled via manually editing the config.ncconf file and is disabled by default.

Enable Client Death Detection

  • Open %NCHOME%\config\config.ncconf file.

  • Change the following section of the cache in question to True and change the grace-interval as necessary.

<cache-config ...>
    <cache-settings ...>
        <client-death-detection enable="False" grace-interval="60sec"/>
    </cache-settings>
</cache-config>
Note

The default Grace Interval is 60 seconds and it can go up to 180 seconds (or 3 minutes).

  • Restart NCache service on each cache server.

See Also

Client Config (client.ncconf)
Communication Reliability
Cache Settings

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

[email protected]

[email protected]

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 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top
OSZAR »