Design Health Monitoring for a Fleet of Blockchain Nodes

Last updated: November 29, 2026

Quick Overview

Design observability for thousands of self-hosted blockchain nodes across dozens of networks, detecting stalled, forked or lagging nodes and routing traffic away from them automatically.

Coinbase
System Design
Software Engineer
Coinbase
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design observability for thousands of self-hosted blockchain nodes across dozens of networks, detecting stalled, forked or lagging nodes and routing traffic away from them automatically.

Coinbase runs its own nodes for every supported chain, and deposits, withdrawals and staking all depend on them being current and on the canonical chain. The interviewer wants chain-aware health signals beyond CPU and memory, a metrics pipeline, alerting that avoids noise and automatic remediation.

What the Interviewer Expects
  • Chain-specific health signals: head height, lag versus peers and references, peer count, block hash agreement
  • Metrics collection and storage with sensible cardinality
  • Alert rules that consider quorum rather than single nodes
  • Health-aware load balancing for internal RPC consumers
  • Runbooks and automated remediation such as resync from snapshot
Key Topics to Cover
metrics and observability
alerting
health checks
load balancing
blockchain infrastructure
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you tell whether your node or the reference provider is on the wrong fork?
  • How would you detect a chain halt versus your own nodes falling behind?
  • How do you keep metrics cardinality manageable with per-method RPC latencies?
  • How would you roll out a client upgrade across the fleet safely?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Detect within a minute: a node that stops advancing, lags more than a chain-specific threshold, disagrees on the block hash at a height, has too few peers, or has rising RPC errors. Remove unhealthy n...

High-Level Design

A sidecar on each node exports standard metrics (CPU, disk, memory) and chain metrics by polling the node's RPC: latest height, latest hash, peer count, sync status. A prober service per chain also qu...


Submit Your Answer
Markdown supported

Related Questions