tezvyn:

Diagnosing latency with distributed tracing

Source: interviewadvanced

WHAT IT TESTS: using traces to localize a bottleneck. OUTLINE: follow the trace ID across spans, compare per-span durations to find the slow hop, distinguish service time from network and queueing.

WHAT IT TESTS: a methodical trace-driven diagnosis. ANSWER OUTLINE: the sidecars emit a span per hop and stamp trace headers, but the application must forward those headers so spans link into one trace. Open a slow trace, view the waterfall, and find the span whose self time dominates; check whether the delay is in a service, a downstream call, or queueing. RED FLAG: looking only at cluster-wide latency averages, or assuming the mesh stitches a full trace without the app propagating the trace headers.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Diagnosing latency with distributed tracing · Tezvyn