Litcius/Paper detail

Serialization/Deserialization-free State Transfer in Serverless Workflows

Fangming Lu, Xingda Wei, Zhuobin Huang, Rong Chen, Minyu Wu, Haibo Chen

202423 citationsDOI

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%.

Topics & Concepts

SerializationComputer scienceRemote direct memory accessWorkflowDistributed computingKey (lock)State (computer science)Function (biology)Operating systemDatabaseProgramming languageEvolutionary biologyBiologyCloud Computing and Resource ManagementAdvanced Data Storage TechnologiesScientific Computing and Data Management
Serialization/Deserialization-free State Transfer in Serverless Workflows | Litcius