Update the health checks to support both liveness and readiness concerns.
/health is for liveness of the application
/healthz is for readiness of the application
For readiness, we should check if the underlying node socket is available, reachable, and we can communicate with it, and update an internal structure. Callers should get results from this internal structure to reduce calls to the underlying node.
Relates to #376
Update the health checks to support both liveness and readiness concerns.
/healthis for liveness of the application/healthzis for readiness of the applicationFor readiness, we should check if the underlying node socket is available, reachable, and we can communicate with it, and update an internal structure. Callers should get results from this internal structure to reduce calls to the underlying node.
Relates to #376