Research Articles
Managing Skew in Stream Joins: Tight Resource Limits
Tomas Oakhurst (Machine Learning Laboratory, Ivermere University), Omar Vesperwick (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing), Selin Oakhurst (Data Engineering Group, Thornmere Polytechnic), Nadia Fallowby (Data Engineering Group, Kestrelby Institute of Technology)
Vol. 7 No. 1 (2026) · pp. 53–68 · Published 5 June 2026
Abstract
The comparison uses a reduced operating budget with the same input mix to evaluate two choices: splitting high-frequency keys across work partitions and partitioning solely by the join key. All outcomes are synthetic. Each configuration is evaluated on the same 120 cases. In the 30 stress cases, one key must concentrate both input streams; both configurations receive the same smaller allowance and cannot borrow capacity from later trials. A case counts as a pass only if it meets this criterion: results must be correct and complete within the work budget. The replay retains source versions and arrival order. A reference output built from the complete synthetic history is used to distinguish a fast response from one that is both current and correct. Across the full set, 103 cases meet the criterion with the first configuration and 95 with the second. The stress cases account for 23 and 18 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 replicating one join input increases network traffic. 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 joins, data skew, pipelines, tight resource limits, synthetic evaluation
References
- Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., & Whittle, S. (2015). The Dataflow Model: A practical approach to balancing correctness, latency, and cost in massive-scale, unbounded, out-of-order data processing. Proceedings of the VLDB Endowment, 8(12), 1792–1803. DOI
- Andoni, A., & Indyk, P. (2006). Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science, 459–468.
- André, F., Kermarrec, A.-M., & Le Scouarnec, N. (2015). Cache locality is not enough: High-performance nearest neighbor search with product quantization fast scan. Proceedings of the VLDB Endowment, 9(4), 288–299.
- Buneman, P., Khanna, S., & Tan, W.-C. (2001). Why and where: A characterization of data provenance. Database Theory – ICDT 2001, Lecture Notes in Computer Science, 1973, 316–330. Springer. DOI
- Chang, E. Y., et al. (2007). PSVM: Parallelizing support vector machines on distributed computers. Advances in Neural Information Processing Systems, 20.
- Cui, H., et al. (2014). Exploiting bounded staleness to speed up big data analytics. Proceedings of the 2014 USENIX Annual Technical Conference, 37–48.
- Decencière, E., et al. (2014). Feedback on a publicly distributed image database: The Messidor database. Image Analysis & Stereology, 33(3), 231–234.
- Kreps, J., Narkhede, N., & Rao, J. (2011). Kafka: A distributed messaging system for log processing. Proceedings of the NetDB Workshop.
- Larson, P.-Å., Blanas, S., Diaconu, C., Freedman, C., Patel, J. M., & Zwilling, M. (2011). High-performance concurrency control mechanisms for main-memory databases. Proceedings of the VLDB Endowment, 5(4), 298–309.
- Low, Y., Bickson, D., Gonzalez, J., Guestrin, C., Kyrola, A., & Hellerstein, J. M. (2012). Distributed GraphLab: A framework for machine learning and data mining in the cloud. Proceedings of the VLDB Endowment, 5(8), 716–727.
- Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
- Motwani, R., et al. (2003). Query processing, resource management, and approximation in a data stream management system. Proceedings of the First Biennial Conference on Innovative Data Systems Research.
- Muja, M., & Lowe, D. G. (2014). Scalable nearest neighbor algorithms for high dimensional data. IEEE Transactions on Pattern Analysis and Machine Intelligence, 36(11), 2227–2240.
- Mullapudi, R. T., Adams, A., Sharlet, D., Ragan-Kelley, J., & Fatahalian, K. (2016). Automatically scheduling Halide image processing pipelines. ACM Transactions on Graphics, 35(4), Article 83.
- Ragan-Kelley, J., Barnes, C., Adams, A., Paris, S., Durand, F., & Amarasinghe, S. (2013). Halide: A language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, 519–530.
- Turney, P. D., & Pantel, P. (2010). From frequency to meaning: Vector space models of semantics. Journal of Artificial Intelligence Research, 37, 141–188.
