UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms

Authors: 

Ghazal Sadeghian and Mohamed Elsakhawy, University of British Columbia; Mohanna Shahrad, McGill University; Joe Hattori, University of Tokyo; Mohammad Shahrad, University of British Columbia

Abstract: 

We present UnFaaSener, a lightweight framework that enables serverless users to reduce their bills by harvesting non-serverless compute resources such as their VMs, on-premise servers, or personal computers. UnFaaSener is not a new serverless platform, nor does it require any support from today's production serverless platforms. It uses existing pub/sub services as the glue between the serverless application and offloading hosts. UnFaaSener's asynchronous scheduler takes into consideration the projected resource availability of the offloading hosts, various latency and cost components of serverless versus offloaded execution, the structure of the serverless application, and the developer's QoS expectations to find the most optimal offloading decisions. These decisions are then stored to be retrieved and propagated through the execution flow of the serverless application. The system supports partial offloading at the resolution of each function and utilizes several design choices to establish confidence and adaptiveness. We evaluate the effectiveness of UnFaaSener for serverless applications with various structures. UnFaaSener was able to deliver cost savings of up to 89.8% based on the invocation pattern and the structure of the application, when we limited the offloading cap to 90% in our experiments.

USENIX ATC '23 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

This content is available to:

BibTeX
@inproceedings {288817,
author = {Ghazal Sadeghian and Mohamed Elsakhawy and Mohanna Shahrad and Joe Hattori and Mohammad Shahrad},
title = {{UnFaaSener}: Latency and Cost Aware Offloading of Functions from Serverless Platforms},
booktitle = {2023 USENIX Annual Technical Conference (USENIX ATC 23)},
year = {2023},
isbn = {978-1-939133-35-9},
address = {Boston, MA},
pages = {879--896},
url = {https://www.usenix.org/conference/atc23/presentation/sadeghian},
publisher = {USENIX Association},
month = jul
}

Presentation Video