DFlow: Efficient Dataflow-based Invocation Workflow Execution for Function-as-a-Service

06/19/2023
by   Xiaoxiang Shi, et al.
0

The Serverless Computing is becoming increasingly popular due to its ease of use and fine-grained billing. These features make it appealing for stateful application or serverless workflow. However, current serverless workflow systems utilize a controlflow-based invocation pattern to invoke functions. In this execution pattern, the function invocation depends on the state of the function. A function can only begin executing once all its precursor functions have completed. As a result, this pattern may potentially lead to longer end-to-end execution time. We design and implement the DFlow, a novel dataflow-based serverless workflow system that achieves high performance for serverless workflow. DFlow introduces a distributed scheduler (DScheduler) by using the dataflow-based invocation pattern to invoke functions. In this pattern, the function invocation depends on the data dependency between functions. The function can start to execute even its precursor functions are still running. DFlow further features a distributed store (DStore) that utilizes effective fine-grained optimization techniques to eliminate function interaction, thereby enabling efficient data exchange. With the support of DScheduler and DStore, DFlow can achieving an average improvement of 60 CFlow, 40 latency respectively. Further, it can improve network bandwidth utilization by 2x-4x over CFlow and 1.5x-3x over FaaSFlow, FaaSFlowRedis and KNIX, respectively. DFlow effectively reduces the cold startup latency, achieving an average improvement of 5.6x over CFlow and 1.1x over FaaSFlow

READ FULL TEXT

page 3

page 13

page 16

research
07/04/2022

KubeAdaptor: A Docking Framework for Workflow Containerization on Kubernetes

As Kubernetes becomes the infrastructure of the cloud-native era, the in...
research
02/19/2022

Combining Node-RED and Openwhisk for Pattern-based Development and Execution of Complex FaaS Workflows

Modern cloud computing advances have been pressing application moderniza...
research
01/10/2021

An Empirical Study on Serverless Workflow Service

Along with the wide-adoption of Serverless Computing, more and more appl...
research
01/11/2018

BioWorkbench: A High-Performance Framework for Managing and Analyzing Bioinformatics Experiments

Advances in sequencing techniques have led to exponential growth in biol...
research
06/01/2022

Cooling Down FaaS: Towards Getting Rid of Warm Starts

Serverless execution and most notably the Function as a Service (FaaS) m...
research
02/26/2021

Serverless Workflows with Durable Functions and Netherite

Serverless is an increasingly popular choice for service architects beca...
research
01/16/2021

Benchmarking, Analysis, and Optimization of Serverless Function Snapshots

Serverless computing has seen rapid adoption due to its high scalability...

Please sign up or login with your details

Forgot password? Click here to reset