Reproduce “Tracezip: Efficient Distributed Tracing via Trace Compression” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhuangbin Chen, Junsong Pu, Zibin Zheng

Tracezip reduces distributed-tracing overhead by compressing repeated span structure and attributes at the service side before transmission, while preserving lossless reconstruction at the backend. Integrated into OpenTelemetry, it achieved standalone compression ratios of 3.94–6.46 and raised combined gzip, bzip2, and lzma compression performance by up to 43.6% on production traces, with low memory and processing overhead.

Key insights

  • Trace redundancy is often distributed across spans rather than concentrated within a short byte window: roughly 70% of key-value pairs were highly repetitive in many Train Ticket services.
  • Reordering fields by value diversity and separating high-variability fields from shared structure makes the retrieval tree smaller and improves compression efficiency.
  • Tracezip complements rather than replaces sampling and conventional compression, with its greatest benefits appearing in workloads with stable span schemas and recurring attributes.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.