{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T05:09:32Z","timestamp":1790744972449,"version":"4.1.0"},"reference-count":67,"publisher":"Association for Computing Machinery (ACM)","issue":"CoNEXT3","license":[{"start":{"date-parts":[[2023,11,27]],"date-time":"2023-11-27T00:00:00Z","timestamp":1701043200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Netw."],"published-print":{"date-parts":[[2023,11,27]]},"abstract":"<jats:p>Accurate per-flow monitoring is critical for precise network diagnosis, performance analysis, and network operation and management in general. However, the limited amount of memory available on modern programmable devices and the large number of active flows force practitioners to monitor only the most relevant flows with approximate data structures, limiting their view of network traffic. We argue that, due to the skewed nature of network traffic, such data structures are, in practice, heavily underutilized, i.e. sparse, thus wasting a significant amount of memory.<\/jats:p>\n          <jats:p>This paper proposes a Sparse Approximate Data Structure (SPADA) representation that leverages sparsity to reduce the memory footprint of per-flow monitoring systems in the data plane while preserving their original accuracy. SPADA representation can be integrated into a generic per-flow monitoring system and is suitable for several measurement use cases. We prototype SPADA in P4 for a commercial FPGA target and test our approach with a custom simulator that we make publicly available, on four real network traces over three different monitoring tasks. Our results show that SPADA achieves 2\u00d7 to 11\u00d7 memory footprint reduction with respect to the state-of-the-art while maintaining the same accuracy, or even improving it.<\/jats:p>","DOI":"10.1145\/3629149","type":"journal-article","created":{"date-parts":[[2023,11,28]],"date-time":"2023-11-28T15:40:05Z","timestamp":1701186005000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["SPADA: A Sparse Approximate Data Structure Representation for Data Plane Per-flow Monitoring"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7584-8952","authenticated-orcid":false,"given":"Andrea","family":"Monterubbiano","sequence":"first","affiliation":[{"name":"University of Rome La Sapienza, Rome, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6327-340X","authenticated-orcid":false,"given":"Raphael","family":"Azorin","sequence":"additional","affiliation":[{"name":"Huawei Technologies Co. Ltd., Paris, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1889-7675","authenticated-orcid":false,"given":"Gabriele","family":"Castellano","sequence":"additional","affiliation":[{"name":"Huawei Technologies Co. Ltd., Paris, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8781-0775","authenticated-orcid":false,"given":"Massimo","family":"Gallo","sequence":"additional","affiliation":[{"name":"Huawei Technologies Co. Ltd., Paris, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3626-6404","authenticated-orcid":false,"given":"Salvatore","family":"Pontarelli","sequence":"additional","affiliation":[{"name":"University of Rome La Sapienza, Rome, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3936-8876","authenticated-orcid":false,"given":"Dario","family":"Rossi","sequence":"additional","affiliation":[{"name":"Huawei Technologies Co. Ltd., Paris, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,11,28]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2021. P4 Portable NIC Architecture (PNA) version 0.5. https:\/\/p4.org\/p4-spec\/docs\/PNA.html."},{"key":"e_1_2_1_2_1","unstructured":"2023. AMD OpenNIC Project. https:\/\/github.com\/Xilinx\/open-nic."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/HCS49909.2020.9220636"},{"key":"e_1_2_1_4_1","volume-title":"Xilinx Vitis Networking P4, https:\/\/www.xilinx.com\/products\/intellectual-property\/ef-di-vitisnetp4.html","author":"AMD.","unstructured":"AMD. 2023. Xilinx Vitis Networking P4, https:\/\/www.xilinx.com\/products\/intellectual-property\/ef-di-vitisnetp4.html. AMD Inc."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1055558.1055598"},{"key":"e_1_2_1_6_1","volume-title":"15th USENIX Symposium on Networked Systems Design and Implementation (NSDI 18)","author":"Arzani Behnaz","year":"2018","unstructured":"Behnaz Arzani, Selim Ciraci, Luiz Chamon, Yibo Zhu, Hongqiang (Harry) Liu, Jitu Padhye, Boon Thau Loo, and Geoff Outhred. 2018. 007: Democratically Finding the Cause of Packet Drops. In 15th USENIX Symposium on Networked Systems Design and Implementation (NSDI 18). USENIX Association, Renton, WA, 419--435. https:\/\/www.usenix.org\/conference\/nsdi18\/presentation\/arzani"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45726-7_1"},{"key":"e_1_2_1_8_1","volume-title":"17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20)","author":"Barbette Tom","year":"2020","unstructured":"Tom Barbette, Chen Tang, Haoran Yao, Dejan Kosti\u0107, Gerald Q. Maguire Jr., Panagiotis Papadimitratos, and Marco Chiesa. 2020. A High-Speed Load-Balancer Design with Guaranteed Per-Connection-Consistency. In 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20). USENIX Association, Santa Clara, CA, 667--683. https:\/\/www.usenix.org\/conference\/nsdi20\/presentation\/barbette"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNET.2020.2982739"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3387514.3405894"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2079296.2079304"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPEC.2018.8547541"},{"key":"e_1_2_1_13_1","unstructured":"CAIDA 2019. The CAIDA Anonymized Internet Traces Dataset. https:\/\/www.caida.org\/catalog\/datasets\/passive_dataset\/."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2890955.2890971"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3387514.3405865"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.comnet.2006.11.023"},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the 31st International Conference on Very Large Data Bases","author":"Cormode Graham","year":"2005","unstructured":"Graham Cormode and Minos Garofalakis. 2005. Sketching Streams through the Net: Distributed Approximate Query Tracking. In Proceedings of the 31st International Conference on Very Large Data Bases (Trondheim, Norway) (VLDB '05). VLDB Endowment, 13--24."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2003.12.001"},{"key":"e_1_2_1_19_1","volume-title":"Automata, Languages and Programming, Samson Abramsky, Cyril Gavoille, Claude Kirchner, Friedhelm Meyer auf der Heide, and Paul G","author":"Dietzfelbinger Martin","unstructured":"Martin Dietzfelbinger, Andreas Goerdt, Michael Mitzenmacher, Andrea Montanari, Rasmus Pagh, and Michael Rink. 2010. Tight Thresholds for Cuckoo Hashing via XORSAT. In Automata, Languages and Programming, Samson Abramsky, Cyril Gavoille, Claude Kirchner, Friedhelm Meyer auf der Heide, and Paul G. Spirakis (Eds.). Springer, Berlin, Heidelberg, 213--225."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.2002.1182002"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPEC.2012.6408680"},{"key":"e_1_2_1_22_1","unstructured":"ES-code 2023. Elastc Sketch source code. https:\/\/github.com\/BlockLiu\/ElasticSketchCode."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/859716.859719"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.46298\/dmtcs.3545"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(85)90041-8"},{"key":"e_1_2_1_26_1","volume-title":"Compressive Sensing. Handbook of mathematical methods in imaging 1","author":"Fornasier Massimo","year":"2015","unstructured":"Massimo Fornasier and Holger Rauhut. 2015. Compressive Sensing. Handbook of mathematical methods in imaging 1 (2015), 187--229."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/Allerton.2011.6120248"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.inffus.2021.12.007"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","unstructured":"Heinrich Hartmann and Theo Schlossnagle. 2020. Circllhist -- A Log-Linear Histogram Data Structure for IT Infrastructure Monitoring. https:\/\/doi.org\/10.48550\/ARXIV.2001.06561","DOI":"10.48550\/ARXIV.2001.06561"},{"key":"e_1_2_1_30_1","volume-title":"Learning-Based Frequency Estimation Algorithms. In International Conference on Learning Representations. https:\/\/openreview.net\/forum?id=r1lohoCqY7","author":"Hsu Chen-Yu","year":"2019","unstructured":"Chen-Yu Hsu, Piotr Indyk, Dina Katabi, and Ali Vakilian. 2019. Learning-Based Frequency Estimation Algorithms. In International Conference on Learning Representations. https:\/\/openreview.net\/forum?id=r1lohoCqY7"},{"key":"e_1_2_1_31_1","volume-title":"18th USENIX Symposium on Networked Systems Design and Implementation (NSDI 21)","author":"Huang Qun","year":"2021","unstructured":"Qun Huang, Siyuan Sheng, Xiang Chen, Yungang Bao, Rui Zhang, Yanwei Xu, and Gong Zhang. 2021. Toward Nearly-Zero-Error Sketching via Compressive Sensing. In 18th USENIX Symposium on Networked Systems Design and Implementation (NSDI 21). USENIX Association, 1027--1044. https:\/\/www.usenix.org\/conference\/nsdi21\/presentation\/huang"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3359989.3365433"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2020.2975625"},{"key":"e_1_2_1_34_1","volume-title":"Optimal quantile approximation in streams. In 2016 ieee 57th annual symposium on foundations of computer science (focs)","author":"Karnin Zohar","unstructured":"Zohar Karnin, Kevin Lang, and Edo Liberty. 2016. Optimal quantile approximation in streams. In 2016 ieee 57th annual symposium on foundations of computer science (focs). IEEE, 71--78."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2016.17"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1137\/080728743"},{"key":"e_1_2_1_37_1","unstructured":"Donald Ervin Knuth. 1973. The art of computer programming: sorting and searching. 723--723 pages."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1140103.1140295"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2999572.2999609"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.14778\/3352063.3352135"},{"key":"e_1_2_1_41_1","unstructured":"MAWI 2023. MAWI Working Group Traffic Archive. https:\/\/mawi.wide.ad.jp\/mawi\/."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3626775"},{"key":"e_1_2_1_43_1","unstructured":"NetFPGA publisher. 2023. NetFPGA-PLUS https:\/\/ netfpga.org\/NetFPGA-PLUS.html."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2003.12.002"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-015-0380--7"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0963548315000097"},{"key":"e_1_2_1_47_1","volume-title":"FlowBlaze: Stateful Packet Processing in Hardware. In 16th USENIX Symposium on Networked Systems Design and Implementation (NSDI 19)","author":"Pontarelli Salvatore","year":"2019","unstructured":"Salvatore Pontarelli, Roberto Bifulco, Marco Bonola, Carmelo Cascone, Marco Spaziani, Valerio Bruschi, Davide Sanvito, Giuseppe Siracusano, Antonio Capone, Michio Honda, Felipe Huici, and Giuseppe Siracusano. 2019. FlowBlaze: Stateful Packet Processing in Hardware. In 16th USENIX Symposium on Networked Systems Design and Implementation (NSDI 19). USENIX Association, Boston, MA, 531--548. https:\/\/www.usenix.org\/conference\/nsdi19\/presentation\/pontarelli"},{"key":"e_1_2_1_48_1","unstructured":"Tewarson Reginald P. 1973. Sparse Matrices. Academic Press. https:\/\/books.google.de\/books?id=I-FQAAAAMAAJ"},{"key":"e_1_2_1_49_1","volume-title":"20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23)","author":"Scazzariello Mariano","year":"2023","unstructured":"Mariano Scazzariello, Tommaso Caiazzi, Hamid Ghasemirahni, Tom Barbette, Dejan Kosti\u0107, and Marco Chiesa. 2023. A High-Speed Stateful Packet Processing Approach for Tbps Programmable Switches. In 20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23). USENIX Association, Boston, MA, 1237--1255. https:\/\/www.usenix.org\/conference\/nsdi23\/presentation\/scazzariello"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3355369.3355567"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3544216.3544222"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3588937"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.14778\/3467861.3467868"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2934872.2934900"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3452296.3472903"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3386367.3432729"},{"key":"e_1_2_1_57_1","first-page":"4","volume-title":"Extending","author":"Tulumello Angelo","year":"2021","unstructured":"Angelo Tulumello, Marco Bonola, Salvatore Pontarelli, Matty Kadosh, and Y Piasetzki. 2021. Extending p4 to realize a scalable flow caching mechanism. https:\/\/opennetworking.org\/wp-content\/uploads\/2021\/05\/2021-P4-WS-Angelo-Tulumello-Slides.pdf."},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611976465.131"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.14778\/3447689.3447707"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPEC.2017.8091058"},{"key":"e_1_2_1_61_1","volume-title":"Hyper-Compact Virtual Estimators for Big Network Data Based on Register Sharing. SIGMETRICS Perform. Eval. Rev. 43 (jun","author":"Xiao Qingjun","year":"2015","unstructured":"Qingjun Xiao, Shigang Chen, Min Chen, and Yibei Ling. 2015. Hyper-Compact Virtual Estimators for Big Network Data Based on Register Sharing. SIGMETRICS Perform. Eval. Rev. 43 (jun 2015), 417--428."},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/3484266.3487377"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/3230543.3230544"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1145\/1077464.1077466"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/2535372.2535411"},{"key":"e_1_2_1_66_1","volume-title":"A survey of sparse representation: algorithms and applications","author":"Zhang Zheng","year":"2015","unstructured":"Zheng Zhang, Yong Xu, Jian Yang, Xuelong Li, and David Zhang. 2015. A survey of sparse representation: algorithms and applications. IEEE access 3 (2015), 490--530."},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2021.3099442"}],"container-title":["Proceedings of the ACM on Networking"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3629149","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3629149","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,23]],"date-time":"2025-08-23T00:04:01Z","timestamp":1755907441000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3629149"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,11,27]]},"references-count":67,"journal-issue":{"issue":"CoNEXT3","published-print":{"date-parts":[[2023,11,27]]}},"alternative-id":["10.1145\/3629149"],"URL":"https:\/\/doi.org\/10.1145\/3629149","relation":{},"ISSN":["2834-5509"],"issn-type":[{"value":"2834-5509","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,11,27]]},"assertion":[{"value":"2023-11-28","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}