CausalMesh: A Causal Cache for Stateful Serverless Computing
Abstract
Stateful serverless workflows consist of multiple serverless functions that access state on a remote database. Developers sometimes add a cache layer between the serverless runtime and the database to improve I/O latency. However, in a serverless environment, functions in the same workflow may be scheduled to different nodes with different caches, which can cause non-intuitive anomalies. This paper presents CausalMesh, a novel approach to causally consistent caching in serverless computing. CausalMesh is the first cache system that supports coordination-free and abort-free read/write operations and read transactions when clients roam among multiple servers. CausalMesh also supports read-write transactional causal consistency in the presence of client roaming but at the cost of abort-freedom. Our evaluation shows that CausalMesh has lower latency and higher throughput than existing proposals.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards High-Performance Transactional Stateful Serverless Workflows with Affinity-Aware Leasing cites Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless Computing cites Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless Computing cites Twine: A Unified Cluster Management System for Shared Infrastructure
- KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless Computing cites Palette Load Balancing: Locality Hints for Serverless Functions
- Palette Load Balancing: Locality Hints for Serverless Functions cites Firecracker: Lightweight Virtualization for Serverless Applications
Cited by top-tier papers3
- Towards High-Performance Transactional Stateful Serverless Workflows with Affinity-Aware LeasingJianjun Zhao, Haikun Liu, Shuhao Zhang, Haodi Lu et al.USENIX ATC 2025 · 2 citations
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual OptimizationsZihao Zhang, Ti Zhou, Christa Jenkins, Omar Chowdhury et al.SOSP 2025 · 2 citations
- KUBEDIRECT: Unleashing the Full Power of the Cluster Manager for Serverless ComputingSheng Qi, Zhiquan Zhang, Xuanzhe Liu, Xin JinNSDI 2026
Builds on7
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 citations
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori et al.NSDI 2020 · 197 citations
- Twine: A Unified Cluster Management System for Shared InfrastructureChunqiang Tang, Kenny Yu, Kaushik Veeraraghavan, Jonathan Kaldor et al.OSDI 2020 · 107 citations
- Lifting the veil on Meta's microservice architecture: Analyses of topology and request workflowsDarby Huye, Yuri Shkuro, Raja R. SambasivanUSENIX ATC 2023 · 65 citations
- Palette Load Balancing: Locality Hints for Serverless FunctionsMania Abdi, Samuel Ginzburg, Xiayue Charles Lin, Jose M. Faleiro et al.EuroSys 2023 · 44 citations
Related papers
- Transactional Causal Consistency for Serverless ComputingChenggang Wu, Vikram Sreekanti, Joseph M. HellersteinSIGMOD 2020 · 34 citations
- Concord: Rethinking Distributed Coherence for Software Caches in Serverless EnvironmentsJovan Stojkovic, Chloe Alverti, Alan Andrade, Nikoleta Iliakopoulou et al.HPCA 2025 · 5 citations
- Cloudburst: Stateful Functions-as-a-ServiceVikram Sreekanti, Chenggang Wu, Xiayue Charles Lin, Johann Schleier-Smith et al.VLDB 2020
- Netherite: Efficient Execution of Serverless WorkflowsSebastian Burckhardt, Badrish Chandramouli, Chris Gillum, David Justo et al.VLDB 2022 · 60 citations
- Styx: Transactional Stateful Functions on Streaming DataflowsKyriakos Psarakis, George Christodoulou, Georgios Siachamis, Marios Fragkoulis et al.SIGMOD 2025 · 3 citations
