FMI: Fast and Cheap Message Passing for Serverless Functions

05/15/2023
by   Marcin Copik, et al.
0

Serverless functions provide elastic scaling and a fine-grained billing model, making Function-as-a-Service (FaaS) an attractive programming model. However, for distributed jobs that benefit from large-scale and dynamic parallelism, the lack of fast and cheap communication is a major limitation. We overcome this limitation and present the FaaS Message Interface (FMI). FMI is an easy-to-use, high-performance framework for general-purpose point-to-point and collective communication in FaaS applications. We support different communication channels and offer a model-driven channel selection according to performance and cost expectations. We model the interface after MPI and show that message passing can be integrated into serverless applications with minor changes, providing portable communication closer to that offered by high-performance systems. In our experiments, FMI can speed up communication for a distributed machine learning FaaS application by up to 162x, while simultaneously reducing cost by up to 397 times.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/22/2023

Faabric: Fine-Grained Distribution of Scientific Workloads in the Cloud

With their high parallelism and resource needs, many scientific applicat...
research
02/25/2021

The PetscSF Scalable Communication Layer

PetscSF, the communication component of the Portable, Extensible Toolkit...
research
03/19/2019

MP net as Abstract Model of Communication for Message-passing Applications

MP net is a formal model specifically designed for the field of parallel...
research
02/25/2019

Addressing Scalability with Message Queues: Architecture and Use Cases for DIRAC Interware

The Message Queue (MQ) architecture is an asynchronous communication sch...
research
05/21/2021

Conduit: A C++ Library for Best-effort High Performance Computing

Developing software to effectively take advantage of growth in parallel ...
research
11/05/2018

Composing Optimization Techniques for Vertex-Centric Graph Processing via Communication Channels

Pregel's vertex-centric model allows us to implement many interesting gr...
research
07/01/2020

Efficient Generation of Mandelbrot Set using Message Passing Interface

With the increasing need for safer and reliable systems, Mandelbrot Set'...

Please sign up or login with your details

Forgot password? Click here to reset