Uber Automates Dependency Analysis Across Its Service Mesh

Leela Kumili · rss · 2026-10 Reader 🖥️

Cascading Failure & System Resilience PatternsModularity & CouplingSRE & Incident ResponseVendor Self-Reported Metrics
Because sampled distributed tracing is statistically too slow to observe rare failures, Uber instead instruments its RPC framework (YARPC middleware) to emit caller/callee failure metrics and classifies every dependency as fail-close, fail-open or unknown by failure correlation, trading request-level detail for broad, fast coverage of how failures propagate through the service mesh.

practical · expository — InfoQ news report of an Uber engineering blog post. Reports a design decision (infer failure dependencies from RPC-middleware metrics rather than distributed tracing) with a quantitative motivation; the underlying claims are Uber's, relayed secondhand.

Structure

PartRole
Headline claim: automated mapping and classification of service dependencies, with reported coverage of critical APIs and most fail-close anomaliescontext / result claim
Problem framing: in deeply nested, async microservice call graphs it is hard to know which dependency caused a failure; defines fail-close / fail-open / unknowncontext and vocabulary
Why not distributed tracing: sampling arithmetic (0.01% sampling x 99.9% availability = 1 in 10M; at 500 rps about 5h33m to catch one failure)evidence / motivating argument
Mechanism: Muttley proxy lacks caller endpoint context, so YARPC inbound/outbound middleware tracks request IDs via Go context and emits caller and callee failure metricssolution description
Classification rule: failure correlation probability thresholds (>=0.8 fail-close, <=0.2 fail-open, else unknown), retries handled separately; explicit trade-off vs OpenTelemetry tail samplingsolution detail and trade-off conclusion

Key terms

Propositions

Arguments

Uber should infer dependency failure semantics from RPC middleware metrics rather than from sampled distributed traces. strength: high
Explicit premises:
Implicit premises:
Inferences:
A caller-callee failure correlation threshold is sufficient to classify dependencies as fail-close or fail-open.
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Related documents