Skip to content

Research Articles

Trace Sampling for Rare Latency Spikes: Uneven Workloads

Hana Fallowby (Distributed Systems Group, Cairnwell Research Institute), Inez Crestmere (Distributed Systems Group, Glenwick University), Leila Iverford (Distributed Systems Group, Kestrelby Institute of Technology), Nadia Oakmarsh (Distributed Systems Group, Eastmarsh Institute for Applied Computing)

Vol. 1 No. 1 (2018) · pp. 118–133 · Published 16 October 2018

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 a workload with many common cases and a small set of recurring high-cost cases. 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; the rare cases are assessed separately so that the dominant group does not hide their behavior. 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. Across the full set, 124 cases meet the criterion with the first configuration and 128 with the second. The stress cases account for 25 and 26 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that tail-based retention requires memory while traces are incomplete. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.

Keywords: distributed tracing, observability, latency, uneven workloads, synthetic evaluation

References

  1. Chen, J., Pan, X., Monga, R., Bengio, S., & Jozefowicz, R. (2016). Revisiting distributed synchronous SGD. arXiv:1604.00981.
  2. Dean, J., et al. (2012). Large scale distributed deep networks. Advances in Neural Information Processing Systems, 25, 1223–1231.
  3. Decencière, E., et al. (2014). Feedback on a publicly distributed image database: The Messidor database. Image Analysis & Stereology, 33(3), 231–234.
  4. Deisenroth, M. P., & Ng, J. W. (2015). Distributed Gaussian processes. Proceedings of the 32nd International Conference on Machine Learning, 1481–1490.
  5. 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.
  6. 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.
  7. Hill, F., Cho, K., & Korhonen, A. (2016). Learning distributed representations of sentences from unlabelled data. Proceedings of NAACL-HLT 2016, 1367–1377.
  8. 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.
  9. Miers, I., Garman, C., Green, M., & Rubin, A. D. (2013). Zerocoin: Anonymous distributed e-cash from Bitcoin. Proceedings of the 2013 IEEE Symposium on Security and Privacy, 397–411.
  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. Roman, R., Zhou, J., & Lopez, J. (2013). On the features and challenges of security and privacy in distributed internet of things. Computer Networks, 57(10), 2266–2279.
  13. Seide, F., Fu, H., Droppo, J., Li, G., & Yu, D. (2014). 1-bit stochastic gradient descent and its application to data-parallel distributed training of speech DNNs. Proceedings of Interspeech 2014, 1058–1062.
  14. Sigelman, B. H., et al. (2010). Dapper, a large-scale distributed systems tracing infrastructure (Technical Report dapper-2010-1). Google.
  15. Teflioudi, C., Makari, F., & Gemulla, R. (2012). Distributed matrix completion. Proceedings of the 12th IEEE International Conference on Data Mining, 655–664.