Diagnosing and preventing Network Problems with Health Check
In today’s distributed and virtual environments, users will often not have full administrative control over their whole network. Health Check introduces Ping to check nodes are still healthy, and to force idle connections to be kept alive in environments with eager shutdowns of unused resources. Diagnostics requests a report from a node, giving instant health check information.
Diagnosing problems in distributed environments is far from easy, so Couchbase provides a Health Check API with
Ping() for active monitoring. ans
Diagnostics() for a look at what the client believes is the current state of the cluster.
More extensive discussion of the uses of Health Check can be found in the Health Check Concept Guide.
For more information on
lcb_PING_SERVICE, refer to the API documentation.