3.8 Proceedings Paper

FaaSFlow: Enable Efficient Workflow Execution for Function-as-a-Service

Publisher

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3503222.3507717

Keywords

FaaS; serverless workflows; graph partition; master-worker

Funding

  1. National Natural Science Foundation of China [62022057, 61832006]
  2. Shanghai international science and technology collaboration project [21510713600]

Ask authors/readers for more resources

Serverless computing provides fine-grain resource sharing, but the traditional workflow execution architecture performs poorly in this context. We propose a worker-side schedule pattern for serverless workflows to enable efficient execution. Experimental results show significant reductions in workflow scheduling and data transmission overheads.
Serverless computing (Function-as-a-Service) provides fine-grain resource sharing by running functions (or Lambdas) in containers. Data-dependent functions are required to be invoked following a pre-defined logic, which is known as serverless workflows. However, our investigation shows that the traditional master-worker based workflow execution architecture performs poorly in serverless context. One significant overhead results from the master-side workflow schedule pattern, with which the functions are triggered in the master node and assigned to worker nodes for execution. Besides, the data movement between workers also reduces the throughput. To this end, we present a worker-side workflow schedule pattern for serverless workflow execution. Following the design, we implement FaaSFlow to enable efficient workflow execution in the serverless context. Besides, we propose an adaptive storage library FaaStore that enables fast data transfer between functions on the same node without through the database. Experiment results show that FaaSFlow effectively mitigates the workflow scheduling overhead by 74.6% on average and data transmission overhead by 95% at most. When the network bandwidth fluctuates, FaaSFlow-FaaStore reduces the throughput degradation by 23.0%, and is able tomultiply the utilization of network bandwidth by 1.5x-4x.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

3.8
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available