{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T03:06:06Z","timestamp":1787022366945,"version":"build-2736575974"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2019,12,9]]},"abstract":"<jats:p>The processing model of state-of-the-art stream processing engines is designed to execute long-running queries one at a time. However, with the advance of cloud technologies and multi-tenant systems, multiple users share the same cloud for stream query processing. This results in many ad-hoc stream queries sharing common stream sources. Many of these queries include joins.<\/jats:p>\n                  <jats:p>There are two main limitations that hinder performing ad-hoc stream join processing. The first limitation is missed optimization potential both in stream data processing and query optimization layers. The second limitation is the lack of dynamicity in query execution plans.<\/jats:p>\n                  <jats:p>We present AJoin, a dynamic and incremental ad-hoc stream join framework. AJoin consists of an optimization layer and a stream data processing layer. The optimization layer periodically reoptimizes the query execution plan, performing join reordering and vertical and horizontal scaling at run-time without stopping the execution. The data processing layer implements pipelineparallel join architecture. This layer enables incremental and consistent query processing supporting all the actions triggered by the optimizer. We implement AJoin on top of Apache Flink, an open-source data processing framework. AJoin outperforms Flink not only at ad-hoc multi-query workloads but also at single-query workloads.<\/jats:p>","DOI":"10.14778\/3372716.3372718","type":"journal-article","created":{"date-parts":[[2020,1,6]],"date-time":"2020-01-06T15:19:37Z","timestamp":1578323977000},"page":"435-448","source":"Crossref","is-referenced-by-count":14,"title":["AJoin"],"prefix":"10.14778","volume":"13","author":[{"given":"Jeyhun","family":"Karimov","sequence":"first","affiliation":[{"name":"DFKI GmbH"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tilmann","family":"Rabl","sequence":"additional","affiliation":[{"name":"University of Potsdam"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Volker","family":"Markl","sequence":"additional","affiliation":[{"name":"DFKI GmbH, TU Berlin"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,1,6]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"https:\/\/kafka.apache.org\/","author":"Kafka Apache","year":"2019","unstructured":"Apache Kafka . https:\/\/kafka.apache.org\/ , 2019 . [Online: accessed 17-August-2019]. Apache Kafka. https:\/\/kafka.apache.org\/, 2019. [Online: accessed 17-August-2019]."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-009-5103-0"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1002\/cpe.3410"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3190664"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742797"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807167.1807224"},{"key":"e_1_2_1_7_1","first-page":"261","volume-title":"ACM SIGMOD record","author":"Avnur R.","year":"2000","unstructured":"R. Avnur and J. M. Hellerstein . Eddies: Continuously adaptive query processing . In ACM SIGMOD record , volume 29 , pages 261 -- 272 . ACM , 2000 . R. Avnur and J. M. Hellerstein. Eddies: Continuously adaptive query processing. In ACM SIGMOD record, volume 29, pages 261--272. ACM, 2000."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/543613.543615"},{"key":"e_1_2_1_10_1","volume-title":"Troops, trolls and troublemakers: A global inventory of organized social media manipulation","author":"Bradshaw S.","year":"2017","unstructured":"S. Bradshaw and P. Howard . Troops, trolls and troublemakers: A global inventory of organized social media manipulation . 2017 . S. Bradshaw and P. Howard. Troops, trolls and troublemakers: A global inventory of organized social media manipulation. 2017."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742783"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687659"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-011-0221-2"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137765.3137777"},{"key":"e_1_2_1_15_1","volume-title":"Apache flink: Stream and batch processing in a single engine. Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, 36(4)","author":"Carbone P.","year":"2015","unstructured":"P. Carbone , A. Katsifodimos , S. Ewen , V. Markl , S. Haridi , and K. Tzoumas . Apache flink: Stream and batch processing in a single engine. Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, 36(4) , 2015 . P. Carbone, A. Katsifodimos, S. Ewen, V. Markl, S. Haridi, and K. Tzoumas. Apache flink: Stream and batch processing in a single engine. Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, 36(4), 2015."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPCSim.2016.7568388"},{"key":"e_1_2_1_17_1","volume-title":"Path sharing and predicate evaluation for high-performance xml filtering. ACM Transactions on Database Systems (TODS), 28(4):467--516","author":"Diao Y.","year":"2003","unstructured":"Y. Diao , M. Altinel , M. J. Franklin , H. Zhang , and P. Fischer . Path sharing and predicate evaluation for high-performance xml filtering. ACM Transactions on Database Systems (TODS), 28(4):467--516 , 2003 . Y. Diao, M. Altinel, M. J. Franklin, H. Zhang, and P. Fischer. Path sharing and predicate evaluation for high-performance xml filtering. ACM Transactions on Database Systems (TODS), 28(4):467--516, 2003."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1186\/s13677-014-0012-6"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2882945"},{"issue":"13","key":"e_1_2_1_20_1","first-page":"2009","article-title":"Above the clouds: A berkeley view of cloud computing. Dept. Electrical Eng. and Comput. Sciences, University of California, Berkeley","volume":"28","author":"Fox A.","year":"2009","unstructured":"A. Fox , R. Griffith , A. Joseph , R. Katz , A. Konwinski , G. Lee , D. Patterson , A. Rabkin , and I. Stoica . Above the clouds: A berkeley view of cloud computing. Dept. Electrical Eng. and Comput. Sciences, University of California, Berkeley , Rep. UCB\/EECS , 28 ( 13 ): 2009 , 2009 . A. Fox, R. Griffith, A. Joseph, R. Katz, A. Konwinski, G. Lee, D. Patterson, A. Rabkin, and I. Stoica. Above the clouds: A berkeley view of cloud computing. Dept. Electrical Eng. and Comput. Sciences, University of California, Berkeley, Rep. UCB\/EECS, 28(13):2009, 2009.","journal-title":"Rep. UCB\/EECS"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2013.295"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/2168651.2168654"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2463678"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732279.2732280"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.14778\/2735508.2735513"},{"key":"e_1_2_1_26_1","first-page":"297","article-title":"Scheduling for shared window joins over data streams","volume":"29","author":"Hammad M. A.","year":"2003","unstructured":"M. A. Hammad , M. J. Franklin , W. G. Aref , and A. K. Elmagarmid . Scheduling for shared window joins over data streams . PVLDB , 29 : 297 -- 308 , 2003 . M. A. Hammad, M. J. Franklin, W. G. Aref, and A. K. Elmagarmid. Scheduling for shared window joins over data streams. PVLDB, 29:297--308, 2003.","journal-title":"PVLDB"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/2611286.2611294"},{"issue":"4","key":"e_1_2_1_28_1","first-page":"73","article-title":"Fugu: Elastic data stream processing with latency constraints","volume":"38","author":"Heinze T.","year":"2015","unstructured":"T. Heinze , Y. Ji , L. Roediger , V. Pappalardo , A. Meister , Z. Jerzak , and C. Fetzer . Fugu: Elastic data stream processing with latency constraints . IEEE Data Eng. Bull. , 38 ( 4 ): 73 -- 81 , 2015 . T. Heinze, Y. Ji, L. Roediger, V. Pappalardo, A. Meister, Z. Jerzak, and C. Fetzer. Fugu: Elastic data stream processing with latency constraints. IEEE Data Eng. Bull., 38(4):73--81, 2015.","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2806777.2806847"},{"key":"e_1_2_1_30_1","first-page":"1","volume-title":"Proceedings of the third international workshop on Large scale testing","author":"Herbst N. R.","year":"2014","unstructured":"N. R. Herbst , S. Kounev , Modeling variations in load intensity over time . In Proceedings of the third international workshop on Large scale testing , pages 1 -- 4 . ACM, 2014 . N. R. Herbst, S. Kounev, et al. Modeling variations in load intensity over time. In Proceedings of the third international workshop on Large scale testing, pages 1--4. ACM, 2014."},{"key":"e_1_2_1_31_1","volume-title":"On the optimal nesting order for computing n-relational joins. ACM Transactions on Database Systems (TODS), 9(3):482--502","author":"Ibaraki T.","year":"1984","unstructured":"T. Ibaraki and T. Kameda . On the optimal nesting order for computing n-relational joins. ACM Transactions on Database Systems (TODS), 9(3):482--502 , 1984 . T. Ibaraki and T. Kameda. On the optimal nesting order for computing n-relational joins. ACM Transactions on Database Systems (TODS), 9(3):482--502, 1984."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.14778\/3229863.3229869"},{"key":"e_1_2_1_33_1","volume-title":"Cham","author":"Karimov. Stream Benchmarks J.","year":"2018","unstructured":"J. Karimov. Stream Benchmarks , pages 1--6. Springer International Publishing , Cham , 2018 . J. Karimov. Stream Benchmarks, pages 1--6. Springer International Publishing, Cham, 2018."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2018.00169"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3319884"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037022"},{"key":"e_1_2_1_37_1","volume-title":"Iterative dynamic programming: a new class of query optimization algorithms. ACM Transactions on Database Systems (TODS), 25(1):43--82","author":"Kossmann D.","year":"2000","unstructured":"D. Kossmann and K. Stocker . Iterative dynamic programming: a new class of query optimization algorithms. ACM Transactions on Database Systems (TODS), 25(1):43--82 , 2000 . D. Kossmann and K. Stocker. Iterative dynamic programming: a new class of query optimization algorithms. ACM Transactions on Database Systems (TODS), 25(1):43--82, 2000."},{"key":"e_1_2_1_38_1","first-page":"128","article-title":"Optimization of nonrecursive queries","volume":"86","author":"Krishnamurthy R.","year":"1986","unstructured":"R. Krishnamurthy , H. Boral , and C. Zaniolo . Optimization of nonrecursive queries . PVLDB , 86 : 128 -- 137 , 1986 . R. Krishnamurthy, H. Boral, and C. Zaniolo. Optimization of nonrecursive queries. PVLDB, 86:128--137, 1986.","journal-title":"PVLDB"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2007.367848"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/NOMS.2014.6838238"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/2904121.2904124"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3035959"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007642"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376672"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1177\/0306422011409641"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/582095.582099"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1007\/s13174-011-0050-y"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2595641"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3064039"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2012.335"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2003.1236470"},{"key":"e_1_2_1_52_1","first-page":"285","article-title":"Maximizing the output rate of multi-way join queries over streaming information sources","volume":"29","author":"Viglas S. D.","year":"2003","unstructured":"S. D. Viglas , J. F. Naughton , and J. Burger . Maximizing the output rate of multi-way join queries over streaming information sources . PVLDB , 29 : 285 -- 296 , 2003 . S. D. Viglas, J. F. Naughton, and J. Burger. Maximizing the output rate of multi-way join queries over streaming information sources. PVLDB, 29:285--296, 2003.","journal-title":"PVLDB"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522737"},{"key":"e_1_2_1_54_1","volume-title":"Presented as part of the","author":"Zaharia M.","year":"2012","unstructured":"M. Zaharia , T. Das , H. Li , S. Shenker , and I. Stoica . Discretized streams: an efficient and fault-tolerant model for stream processing on large clusters . In Presented as part of the , 2012 . M. Zaharia, T. Das, H. Li, S. Shenker, and I. Stoica. Discretized streams: an efficient and fault-tolerant model for stream processing on large clusters. In Presented as part of the, 2012."},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.14778\/3303753.3303758"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3372716.3372718","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T05:02:22Z","timestamp":1672203742000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3372716.3372718"}},"subtitle":["ad-hoc stream joins at scale"],"short-title":[],"issued":{"date-parts":[[2019,12,9]]},"references-count":54,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2019,12,9]]}},"alternative-id":["10.14778\/3372716.3372718"],"URL":"https:\/\/doi.org\/10.14778\/3372716.3372718","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2019,12,9]]}}}