What does the health check for an execution-layer RPC node behind your load balancer need to verify?
- Query the node's head block and compare it against an independent reference, require a peer count above a floor, and enforce a latency budget; eject if the node lags beyond a threshold. Chain-aware health is the only kind that detects stale-but-responsive nodes.
- A TCP connect check on port 8545. Proves the socket is open, nothing about correctness.
- Compare the node's height to the fleet's median height. A fleet-wide stall (for example a missed fork upgrade) makes the median wrong too.
- An HTTP 200 from a /health endpoint served by the sidecar. Process liveness misses the failure mode that matters: lag.
Compare the node's head to an outside reference, require a peer floor and a latency budget, and eject on lag.
The dangerous failure is a node that answers quickly with old data. Health must include sync distance from an independent reference; peers and latency catch the nodes on their way to that state.
Answering with a TCP check, a /health 200, or a comparison against the fleet's own median; all three pass a node that is confidently serving stale data.