Tagged articles
2 articles
Page 1 of 1
Meituan Technology Team
Meituan Technology Team
Apr 20, 2023 · Backend Development

Analyzing TraceId Loss in Spring @Async and Distributed Tracing Solutions

The article investigates a missing TraceId in a Spring @Async call, analyzes the underlying design of MTrace and Google Dapper, examines ThreadLocal propagation mechanisms, identifies SimpleAsyncTaskExecutor as the root cause, and presents a custom thread‑pool solution while comparing alternative distributed tracing systems.

Distributed TracingJavaMTrace
0 likes · 28 min read
Analyzing TraceId Loss in Spring @Async and Distributed Tracing Solutions
Meituan Technology Team
Meituan Technology Team
Oct 14, 2016 · Backend Development

Large-Scale Service Governance Design and Practice Using MTrace

MTrace, Meituan‑Dianping’s internal distributed tracing platform, assigns a global 64‑bit traceId to each request, instruments RPC, HTTP, database and messaging calls, aggregates data via Kafka into HBase and Hive, and visualizes the full call chain to pinpoint network cross‑datacenter traffic, latency bottlenecks, redundant calls, and correlated exceptions, thereby enabling systematic service‑level optimization.

BackendDistributed TracingMTrace
0 likes · 12 min read
Large-Scale Service Governance Design and Practice Using MTrace