Serialization/Deserialization-free State Transfer in Serverless Workflows.

Fangming Lu,Xingda Wei,Zhuobin Huang,Rong Chen,Minyu Wu,Haibo Chen
DOI: https://doi.org/10.1145/3627703.3629568
2024-01-01
Abstract:Serialization and deserialization play a dominant role in the state transfer time of serverless workflows, leading to substantial performance penalties during workflow execution. We identify the key reason as a lack of ability to efficiently access the (remote) memory of another function. We propose RMMap, an OS primitive for remote memory map. It allows a serverless function to directly access the memory of another function, even if it is located remotely. RMMap is the first to completely eliminates serialization and deserialization when transferring states between any pairs of functions in (unmodified) serverless workflows. To make remote memory map efficient and feasible, we co-design it with fast networking (RDMA), OS, language runtime, and serverless platform. Evaluations using real-world serverless workloads show that integrating RMMap with Knative reduces the serverless workflow execution time on Knative by up to 2.6 × and improves resource utilizations by 86.3%.
What problem does this paper attempt to address?