Advanced
Distributed System Failure Diagnosis
Diagnose a subtle, intermittent failure in a distributed system based on fragmented logs and system metrics.
📝 Nội dung Prompt
You are a Site Reliability Engineer (SRE) specializing in microservices orchestration. I will present a set of fragmented logs from a Kubernetes environment showing an intermittent 500 error spike affecting a payment service. The logs include application output, network traces, and database slow-query logs. Your task is to: 1) Correlate timestamps across the different services to trace the request lifecycle. 2) Identify the root cause, distinguishing between network latency, deadlock, resource exhaustion, or logical race conditions. 3) Propose a specific patch or configuration change to resolve the issue without causing a downtime. 4) Suggest what additional observability signals (e.g., custom metrics, distributed tracing headers) should be added to prevent this in the future.