Skip to content

Research Articles

Trace Sampling for Rare Latency Spikes: Baseline Load

Zoya Havenford (Distributed Systems Group, Glenwick University), Leila Oakhaven (Distributed Systems Group, Pinewick School of Engineering), Saira Viremont (Distributed Systems Group, Ravenmere Technical University), Yara Cairnwell (Distributed Systems Group, Ivermere University), Yara Crestmere (Machine Learning Laboratory, Pinewick School of Engineering), Emil Fallowby (Machine Learning Laboratory, Cairnwell Research Institute)

Vol. 9 No. 1 (2026) · pp. 84–97 · Published 12 June 2026

Abstract

We ask whether retaining complete traces when the critical path exceeds a threshold performs better than sampling requests uniformly at the same storage budget in steady demand with isolated exceptions. The evaluation is synthetic. Each configuration is evaluated on the same 160 cases. In the 40 stress cases, a delayed child span must arrive after its parent trace has been reported; difficult cases are separated by ordinary intervals rather than grouped into bursts. A case counts as a pass only if it meets this criterion: a test incident must yield enough linked spans to identify the delayed stage. Each pair receives the same workload and interruption schedule. Results include timed-out requests and unfinished recovery attempts, preventing either configuration from appearing faster by dropping difficult work. The comparator passes 127 of 160 cases and the alternative passes 134. For the 40 stress cases alone, the counts are 23 and 26, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that tail-based retention requires memory while traces are incomplete. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: distributed tracing, observability, latency, baseline load, synthetic evaluation

References

  1. Baumgärtner, L., et al. (2020). Mind the GAP: Security & privacy risks of contact tracing apps. arXiv:2006.05914.
  2. Brown, B., et al. (2024). Large language monkeys: Scaling inference compute with repeated sampling. arXiv:2407.21787.
  3. Cho, H., Ippolito, D., & Yu, Y. W. (2020). Contact tracing mobile apps for COVID-19: Privacy considerations and related trade-offs. arXiv:2003.11511.
  4. Erlingsson, Ú., Peinado, M., Peter, S., & Budiu, M. (2011). Fay: Extensible distributed tracing from kernels to clusters. Proceedings of the 23rd ACM Symposium on Operating Systems Principles, 311–326.
  5. Fonseca, R., Porter, G., Katz, R. H., Shenker, S., & Stoica, I. (2007). X-Trace: A pervasive network tracing framework. Proceedings of the 4th USENIX Symposium on Networked Systems Design and Implementation, 271–284.
  6. Li, M., Andersen, D. G., Smola, A., & Yu, K. (2014). Communication efficient distributed machine learning with the parameter server. Advances in Neural Information Processing Systems, 27, 19–27.
  7. Mace, J., Roelke, R., & Fonseca, R. (2015). Pivot tracing: Dynamic causal monitoring for distributed systems. Proceedings of the 25th Symposium on Operating Systems Principles, 378–393.
  8. Mikolov, T., Sutskever, I., Chen, K., Corrado, G., & Dean, J. (2013). Distributed representations of words and phrases and their compositionality. Advances in Neural Information Processing Systems, 26, 3111–3119.
  9. Mnih, A., & Hinton, G. E. (2009). A scalable hierarchical distributed language model. Advances in Neural Information Processing Systems, 21, 1081–1088.
  10. Nelson, J., et al. (2015). Latency-tolerant software distributed shared memory. Proceedings of the 2015 USENIX Annual Technical Conference, 291–305.
  11. Ousterhout, K., Wendell, P., Zaharia, M., & Stoica, I. (2013). Sparrow: Distributed, low latency scheduling. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 69–84.
  12. Sigelman, B. H., et al. (2010). Dapper, a large-scale distributed systems tracing infrastructure (Technical Report dapper-2010-1). Google.
  13. Troncoso, C., et al. (2020). Decentralized privacy-preserving proximity tracing. arXiv:2005.12273.
  14. Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., & Chun, B.-G. (2022). Orca: A distributed serving system for transformer-based generative models. Proceedings of the 16th USENIX Symposium on Operating Systems Design and Implementation, 521–538.