{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,31]],"date-time":"2026-03-31T19:50:39Z","timestamp":1774986639049,"version":"3.50.1"},"reference-count":66,"publisher":"Association for Computing Machinery (ACM)","issue":"3","funder":[{"DOI":"10.13039\/501100006374","name":"Nederlandse Organisatie voor Wetenschappelijk Onderzoek","doi-asserted-by":"publisher","award":["19708"],"award-info":[{"award-number":["19708"]}],"id":[{"id":"10.13039\/501100006374","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2025,6,17]]},"abstract":"<jats:p>Developing stateful cloud applications, such as low-latency workflows and microservices with strict consistency requirements, remains arduous for programmers. The Stateful Functions-as-a-Service (SFaaS) paradigm aims to serve these use cases. However, existing approaches provide weak transactional guarantees or perform expensive external state accesses requiring inefficient transactional protocols that increase execution latency. In this paper, we present Styx, a novel dataflow-based SFaaS runtime that executes serializable transactions consisting of stateful functions that form arbitrary call-graphs with exactly-once guarantees. Styx extends a deterministic transactional protocol by contributing: i) a function acknowledgment scheme to determine transaction boundaries required in SFaaS workloads, ii) a function-execution caching mechanism, and iii) an early commit-reply mechanism that substantially reduces transaction execution latency. Experiments with the YCSB, TPC-C, and Deathstar benchmarks show that Styx outperforms state-of-the-art approaches by achieving at least one order of magnitude higher throughput while exhibiting near-linear scalability and low latency.<\/jats:p>","DOI":"10.1145\/3725363","type":"journal-article","created":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T21:23:29Z","timestamp":1750281809000},"page":"1-28","source":"Crossref","is-referenced-by-count":2,"title":["Styx: Transactional Stateful Functions on Streaming Dataflows"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3017-5704","authenticated-orcid":false,"given":"Kyriakos","family":"Psarakis","sequence":"first","affiliation":[{"name":"Delft University of Technology, Delft, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2104-565X","authenticated-orcid":false,"given":"George","family":"Christodoulou","sequence":"additional","affiliation":[{"name":"Delft University of Technology, Delft, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4618-2028","authenticated-orcid":false,"given":"Georgios","family":"Siachamis","sequence":"additional","affiliation":[{"name":"Inria &amp; Institut Polytechnique de Paris, Paris, France"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0160-0855","authenticated-orcid":false,"given":"Marios","family":"Fragkoulis","sequence":"additional","affiliation":[{"name":"Delft University of Technology, Delft, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6717-2945","authenticated-orcid":false,"given":"Asterios","family":"Katsifodimos","sequence":"additional","affiliation":[{"name":"Delft University of Technology, Delft, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2025,6,18]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3181853"},{"key":"e_1_2_2_2_1","volume-title":"AWS Step Functions. https:\/\/aws.amazon.com\/step-functions Accessed on","year":"2025","unstructured":"Amazon. 2025. AWS Step Functions. https:\/\/aws.amazon.com\/step-functions Accessed on April 07, 2025."},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3190664"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/978--3-031--22308--2_7"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.14778\/3529337.3529344"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3485510"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137765.3137777"},{"key":"e_1_2_2_8_1","volume-title":"Bulletin of the IEEE Computer Society Technical Committee on Data Engineering","volume":"36","author":"Carbone Paris","year":"2015","unstructured":"Paris Carbone, Asterios Katsifodimos, Stephan Ewen, Volker Markl, Seif Haridi, and Kostas Tzoumas. 2015. Apache flink: Stream and batch processing in a single engine. Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, Vol. 36, 4 (2015)."},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/214451.214456"},{"key":"e_1_2_2_10_1","volume-title":"Rethinking Concurrency Control in Databases. In 13th Conference on Innovative Data Systems Research, CIDR 2023","author":"Cheng Chaoyi","year":"2023","unstructured":"Chaoyi Cheng, Mingzhe Han, Nuo Xu, Spyros Blanas, Michael D. Bond, and Yang Wang. 2023. Developer's Responsibility or Database's Responsibility? Rethinking Concurrency Control in Databases. In 13th Conference on Innovative Data Systems Research, CIDR 2023, Amsterdam, The Netherlands, January 8--11, 2023. www.cidrdb.org. https:\/\/www.cidrdb.org\/cidr2023\/papers\/p30-cheng.pdf"},{"key":"e_1_2_2_11_1","volume-title":"11th Conference on Innovative Data Systems Research, CIDR","author":"Cheung Alvin","year":"2021","unstructured":"Alvin Cheung, Natacha Crooks, Joseph M. Hellerstein, and Mae Milano. 2021. New Directions in Cloud Programming. In 11th Conference on Innovative Data Systems Research, CIDR 2021, Virtual Event, January 11--15, 2021, Online Proceedings. www.cidrdb.org. http:\/\/cidrdb.org\/cidr2021\/papers\/cidr2021_paper16.pdf"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3465480.3466920"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389723"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDEW.2014.6818330"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/568522.568525"},{"key":"e_1_2_2_16_1","volume-title":"Proceedings of the 2014 USENIX Annual Technical Conference, USENIX ATC 2014","author":"Fernandez Raul Castro","year":"2014","unstructured":"Raul Castro Fernandez, Matteo Migliavacca, Evangelia Kalyvianaki, and Peter R. Pietzuch. 2014. Making State Explicit for Imperative Big Data Processing. In Proceedings of the 2014 USENIX Annual Technical Conference, USENIX ATC 2014, Philadelphia, PA, USA, June 19--20, 2014, Garth Gibson and Nickolai Zeldovich, (Eds.). USENIX Association, 49-60. https:\/\/www.usenix.org\/conference\/atc14\/technical-sessions\/presentation\/castro-fernandez"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137765.3137786"},{"key":"e_1_2_2_18_1","volume-title":"https:\/\/airflow.apache.org Accessed on","author":"Software Foundation The Apache","year":"2025","unstructured":"The Apache Software Foundation. 2025. Apache Airflow. https:\/\/airflow.apache.org Accessed on April 07, 2025."},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1007\/S00778-023-00819--8"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3297858.3304013"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.14778\/3476311.3476387"},{"key":"e_1_2_2_22_1","volume-title":"13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018","author":"Gjengset Jon","year":"2018","unstructured":"Jon Gjengset, Malte Schwarzkopf, Jonathan Behrens, Lara Timb\u00f3 Ara\u00fajo, Martin Ek, Eddie Kohler, M. Frans Kaashoek, and Robert Morris. 2018. Noria: dynamic, partially-stateful data-flow for high-performance web applications. In 13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018, Carlsbad, CA, USA, October 8--10, 2018, Andrea C. Arpaci-Dusseau and Geoff Voelker, (Eds.). USENIX Association, 213-231. https:\/\/www.usenix.org\/conference\/osdi18\/presentation\/gjengset"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/3--540-08755--9_9"},{"key":"e_1_2_2_24_1","first-page":"539","volume-title":"Proceedings of the 2022 USENIX Annual Technical Conference, USENIX ATC 2022","author":"Gu Rong","year":"2022","unstructured":"Rong Gu, Han Yin, Weichang Zhong, Chunfeng Yuan, and Yihua Huang. 2022. Meces: Latency-efficient Rescaling via Prioritized State Migration for Stateful Distributed Stream Processing Systems. In Proceedings of the 2022 USENIX Annual Technical Conference, USENIX ATC 2022, Carlsbad, CA, USA, July 11--13, 2022, Jiri Schindler and Noa Zilberman, (Eds.). USENIX Association, 539-556. https:\/\/www.usenix.org\/conference\/atc22\/presentation\/gu-rong"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.14778\/3329772.3329777"},{"key":"e_1_2_2_26_1","volume-title":"The Idempotency-Key HTTP Header Field. https:\/\/www.ietf.org\/archive\/id\/draft-ietf-httpapi-idempotency-key-header-06.txt Accessed on","author":"IETF.","year":"2025","unstructured":"IETF. 2025. The Idempotency-Key HTTP Header Field. https:\/\/www.ietf.org\/archive\/id\/draft-ietf-httpapi-idempotency-key-header-06.txt Accessed on April 07, 2025."},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007263.3007272"},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3477132.3483541"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3445814.3446701"},{"key":"e_1_2_2_30_1","volume-title":"13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018","author":"Kalavri Vasiliki","year":"2018","unstructured":"Vasiliki Kalavri, John Liagouris, Moritz Hoffmann, Desislava C. Dimitrova, Matthew Forshaw, and Timothy Roscoe. 2018. Three steps is all you need: fast, accurate, automatic scaling decisions for distributed streaming dataflows. In 13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018, Carlsbad, CA, USA, October 8--10, 2018, Andrea C. Arpaci-Dusseau and Geoff Voelker, (Eds.). USENIX Association, 783-798. https:\/\/www.usenix.org\/conference\/osdi18\/presentation\/kalavri"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.14778\/1454159.1454211"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2948985"},{"key":"e_1_2_2_33_1","first-page":"1","article-title":"Kafka: A distributed messaging system for log processing","volume":"11","author":"Kreps Jay","year":"2011","unstructured":"Jay Kreps, Neha Narkhede, Jun Rao, et al., 2011. Kafka: A distributed messaging system for log processing. In Proceedings of the NetDB, Vol. 11. 1-7.","journal-title":"Proceedings of the NetDB"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.14778\/3484224.3484232"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/357172.357176"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/2926534.2926544"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/170035.170042"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3589262"},{"key":"e_1_2_2_39_1","volume-title":"Serverless State Management Systems. In 14th Conference on Innovative Data Systems Research, CIDR 2024","author":"Li Tianyu","year":"2024","unstructured":"Tianyu Li, Badrish Chandramouli, Sebastian Burckhardt, and Samuel Madden. 2024. Serverless State Management Systems. In 14th Conference on Innovative Data Systems Research, CIDR 2024, Chaminade, HI, USA, January 14--17, 2024. www.cidrdb.org. https:\/\/www.cidrdb.org\/cidr2024\/papers\/p16-li.pdf"},{"key":"e_1_2_2_40_1","volume-title":"https:\/\/akka.io Accessed on","year":"2025","unstructured":"Lightbend. 2025. Akka.io. https:\/\/akka.io Accessed on April 07, 2025."},{"key":"e_1_2_2_41_1","volume-title":"20th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2023","author":"Liu David H.","year":"2023","unstructured":"David H. Liu, Amit Levy, Shadi A. Noghabi, and Sebastian Burckhardt. 2023. Doing More with Less: Orchestrating Serverless Applications without an Orchestrator. In 20th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2023, Boston, MA, April 17--19, 2023, Mahesh Balakrishnan and Manya Ghobadi, (Eds.). USENIX Association, 1505-1519. https:\/\/www.usenix.org\/conference\/nsdi23\/presentation\/liu-david"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407808"},{"key":"e_1_2_2_43_1","volume-title":"Flavio Paiva Junqueira, and Keith Marzullo","author":"Mao Yanhua","year":"2008","unstructured":"Yanhua Mao, Flavio Paiva Junqueira, and Keith Marzullo. 2008. Mencius: Building Efficient Replicated State Machine for WANs. In 8th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2008, December 8--10, 2008, San Diego, California, USA, Proceedings, Richard Draves and Robbert van Renesse, (Eds.). USENIX Association, 369-384. http:\/\/www.usenix.org\/events\/osdi08\/tech\/full_papers\/mao\/mao.pdf"},{"key":"e_1_2_2_44_1","volume-title":"Azure Logic Apps. https:\/\/azure.microsoft.com\/en-us\/products\/logic-apps Accessed on","year":"2025","unstructured":"Microsoft. 2025. Azure Logic Apps. https:\/\/azure.microsoft.com\/en-us\/products\/logic-apps Accessed on April 07, 2025."},{"key":"e_1_2_2_45_1","volume-title":"https:\/\/min.io Accessed on","author":"IO.","year":"2025","unstructured":"MinIO. 2025. MinIO. https:\/\/min.io Accessed on April 07, 2025."},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522738"},{"key":"e_1_2_2_47_1","volume-title":"Proceedings of the 8th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2011","author":"Murray Derek Gordon","year":"2011","unstructured":"Derek Gordon Murray, Malte Schwarzkopf, Christopher Smowton, Steven Smith, Anil Madhavapeddy, and Steven Hand. 2011. CIEL: A Universal Execution Engine for Distributed Data-Flow Computing. In Proceedings of the 8th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2011, Boston, MA, USA, March 30 - April 1, 2011, David G. Andersen and Sylvia Ratnasamy, (Eds.). USENIX Association. https:\/\/www.usenix.org\/conference\/nsdi11\/ciel-universal-execution-engine-distributed-data-flow-computing"},{"key":"e_1_2_2_48_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137765.3137770"},{"key":"e_1_2_2_49_1","volume-title":"Transactional Cloud Applications Go with the (Data)Flow. In 15th Annual Conference on Innovative Data Systems Research (CIDR'25)","author":"Psarakis Kyriakos","year":"2025","unstructured":"Kyriakos Psarakis, George Christodoulou, Marios Fragkoulis, and Asterios Katsifodimos. 2025. Transactional Cloud Applications Go with the (Data)Flow. In 15th Annual Conference on Innovative Data Systems Research (CIDR'25). January 19--22, 2025, Amsterdam, The Netherlands.,"},{"key":"e_1_2_2_50_1","doi-asserted-by":"publisher","DOI":"10.48786\/EDBT.2024.02"},{"key":"e_1_2_2_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3600006.3613154"},{"key":"e_1_2_2_52_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE60146.2024.00309"},{"key":"e_1_2_2_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3457320"},{"key":"e_1_2_2_54_1","doi-asserted-by":"publisher","DOI":"10.14778\/3485450.3485454"},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563835.3567664"},{"key":"e_1_2_2_56_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407836"},{"key":"e_1_2_2_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/1107499.1107504"},{"key":"e_1_2_2_58_1","first-page":"21","article-title":"The VoltDB Main Memory DBMS","volume":"36","author":"Stonebraker Michael","year":"2013","unstructured":"Michael Stonebraker and Ariel Weisberg. 2013. The VoltDB Main Memory DBMS. IEEE Data Eng. Bull., Vol. 36, 2 (2013), 21-27. http:\/\/sites.computer.org\/debull\/A13june\/VoltDB1.pdf","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_2_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3526120"},{"key":"e_1_2_2_60_1","unstructured":"Temporal. 2025. Introducing Temporal. NET -- Deterministic Workflow Authoring in. NET. https:\/\/temporal.io\/blog\/introducing-temporal-dotnet. Accessed: 14-01--2025."},{"key":"e_1_2_2_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213838"},{"key":"e_1_2_2_62_1","volume-title":"Ownership: A Distributed Futures System for Fine-Grained Tasks. In 18th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2021","author":"Wang Stephanie","year":"2021","unstructured":"Stephanie Wang, Eric Liang, Edward Oakes, Benjamin Hindman, Frank Sifei Luan, Audrey Cheng, and Ion Stoica. 2021. Ownership: A Distributed Futures System for Fine-Grained Tasks. In 18th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2021, April 12--14, 2021, James Mickens and Renata Teixeira, (Eds.). USENIX Association, 671-686. https:\/\/www.usenix.org\/conference\/nsdi21\/presentation\/cheng"},{"key":"e_1_2_2_63_1","first-page":"1187","volume-title":"14th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2020","author":"Zhang Haoran","year":"2020","unstructured":"Haoran Zhang, Adney Cardoza, Peter Baile Chen, Sebastian Angel, and Vincent Liu. 2020. Fault-tolerant and transactional stateful serverless workflows. In 14th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2020, Virtual Event, November 4--6, 2020. USENIX Association, 1187-1204. https:\/\/www.usenix.org\/conference\/osdi20\/presentation\/zhang-haoran"},{"key":"e_1_2_2_64_1","doi-asserted-by":"publisher","DOI":"10.1007\/S00778-023-00814-Z"},{"key":"e_1_2_2_65_1","doi-asserted-by":"publisher","DOI":"10.14778\/3561261.3561268"},{"key":"e_1_2_2_66_1","doi-asserted-by":"publisher","DOI":"10.14778\/3551793.3551843"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3725363","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,31]],"date-time":"2026-03-31T18:59:15Z","timestamp":1774983555000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3725363"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,17]]},"references-count":66,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2025,6,17]]}},"alternative-id":["10.1145\/3725363"],"URL":"https:\/\/doi.org\/10.1145\/3725363","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,17]]}}}