Research Articles
Trace Sampling for Rare Latency Spikes: Bursty Inputs
Amari Larchvale (Distributed Systems Group, Valehart Institute of Computational Science), Noor Eastmarsh (Distributed Systems Group, Glenwick University)
Vol. 5 No. 1 (2022) · pp. 13–27 · Published 2 April 2022
Abstract
This synthetic study compares retaining complete traces when the critical path exceeds a threshold with sampling requests uniformly at the same storage budget in an input stream alternating between quiet periods and peaks. Each configuration is evaluated on the same 320 cases. In the 80 stress cases, a delayed child span must arrive after its parent trace has been reported; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. 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 243 of 320 cases and the alternative passes 245. For the 80 stress cases alone, the counts are 32 and 37, 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, bursty inputs, synthetic evaluation
References
- Chang, K., et al. (2018). Distributed deep learning networks among institutions for medical imaging. Journal of the American Medical Informatics Association, 25(8), 945–954.
- 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.
- 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.
- Hinch, R., et al. (2020). Effective configurations of a digital contact tracing app: A report to NHSX. University of Oxford.
- Hunt, T., Zhu, Z., Xu, Y., Peter, S., & Witchel, E. (2016). Ryoan: A distributed sandbox for untrusted computation on secret data. Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation, 533–549.
- Leith, D. J., & Farrell, S. (2020). Coronavirus contact tracing: Evaluating the potential of using Bluetooth received signal strength for proximity detection. ACM SIGCOMM Computer Communication Review, 50(4), 66–74.
- Liu, M., Cui, T., Schuh, H., Krishnamurthy, A., Peter, S., & Gupta, K. (2019). Offloading distributed applications onto SmartNICs using iPipe. Proceedings of the ACM Special Interest Group on Data Communication, 318–333.
- 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.
- Nelson, J., et al. (2015). Latency-tolerant software distributed shared memory. Proceedings of the 2015 USENIX Annual Technical Conference, 291–305.
- 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.
- Salathé, M., et al. (2020). Early evidence of effectiveness of digital contact tracing for SARS-CoV-2 in Switzerland. Swiss Medical Weekly, 150, w20457.
- Sigelman, B. H., et al. (2010). Dapper, a large-scale distributed systems tracing infrastructure (Technical Report dapper-2010-1). Google.
- Troncoso, C., et al. (2020). Decentralized privacy-preserving proximity tracing. arXiv:2005.12273.
