| name | distributed-systems-debugging |
| description | Debug distributed systems behavior including consistency issues, queue backlogs, retries, partitions, replica divergence, tail latency, and backpressure. Use when a service mesh, stream processor, storage system, scheduler, or multi-node research system behaves differently under scale than in local tests. |
Distributed Systems Debugging
Use this skill when concurrency and partial failure make the bug disappear in single-node reasoning.
Core Workflow
- Define the topology, workload, failure model, and correctness expectations.
- Build a timeline across nodes and queues.
- Separate control-plane from data-plane failures.
- Check retries, idempotency, timeouts, leases, and clock assumptions.
- Reproduce on the smallest cluster that preserves the bug.
Execution Rules
- Treat tail latency as a separate problem from median latency.
- Distinguish consistency bugs from observability gaps.
- Make message ordering and dedup assumptions explicit.
- Check whether autoscaling, rebalancing, or GC changed the system state.
Output Contract
Return:
- Failure timeline.
- Ranked fault domains.
- Minimal reproducer.
- Highest-value probes.
- Fix validation plan.