arrow
返回

Stateful Serverless Computing with CRUCIAL

delete2022-03-07
delete24
delete
OA
AI
D
Daniel Barcelona-Pons *
P
Pierre Sutra
M
Marc Sánchez‐Artigas
G
Gerard Parı́s
P
Pedro Garcı́a-López
DOI:10.1145/3490386delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Serverless computing greatly simplifies the use of cloud resources. In particular, Function-as-a-Service (FaaS) platforms enable programmers to develop applications as individual functions that can run and scale independently. Unfortunately, applications that require fine-grained support for mutable state and synchronization, such as machine learning (ML) and scientific computing, are notoriously hard to build with this new paradigm. In this work, we aim at bridging this gap. We present CRUCIAL, a system to program highly-parallel stateful serverless applications. CRUCIAL retains the simplicity of serverless computing. It is built upon the key insight that FaaS resembles to concurrent programming at the scale of a datacenter. Accordingly, a distributed shared memory layer is the natural answer to the needs for fine-grained state management and synchronization. CRUCIAL allows to port effortlessly a multi-threaded code base to serverless, where it can benefit from the scalability and pay-per-use model of FaaS platforms. We validate CRUCIAL with the help of micro-benchmarks and by considering various stateful applications. Beyond classical parallel tasks (e.g., a Monte Carlo simulation), these applications include representative ML algorithms such as k-means and logistic regression. Our evaluation shows that CRUCIAL obtains superior or comparable performance to Apache Spark at similar cost (18%-40% faster). We also use CRUCIAL to port (part of) a state-of-the-art multi-threaded ML library to serverless. The ported application is up to 30% faster than with a dedicated high-end server. Finally, we attest that CRUCIAL, can rival in performance with a single-machine, multi-threaded implementation of a complex coordination problem. Overall, CRUCIAL, delivers all these benefits with less than 6% of changes in the code bases of the evaluated applications.
Keyword:
Serverless
FaaS
in-memory
stateful
synchronization

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

U
Universitat Rovira i Virgili
学者数:
1.0W
论文数: 8.4K
被引数: 9.0K
I
imt - institut mines-telecom
学者数:
7.4K
论文数: 6.4K
被引数: 5
引用论文

引用论文

Results of the 1960 expedition to Krakatau
err2012-12-07
err0
PREAI
errRobert W. Decker; Djajadi Hadikusumo
err分享
err收藏
Bestimmung der inneren reibung vom flüssigen wasserstoff und deuterium
err1941-01-01
err0
PREAI
errvon A. Van Itterbeek; O. Van Paemel
err分享
err收藏
Optimizing the management of benign prostatic hyperplasia
err2012-02-24
err0
errOAAI
errDean S. Elterman; Jack Barkin; Steven A. Kaplan
err分享
err收藏
Towards energy-autonomous wake-up receiver using Visible Light Communication
err2016-01-01
err0
errOAAI
errJoyce Sariol Ramos; Ilker Demirkol; Josep Paradells; Daniel Vossing; Karim M. Gad; Martin Kasemann
err分享
err收藏
Guanylurea metformium double salt of decavanadate, (HGU+)4(HMet+)2(V10O286−)·2H2O
err2014-08-01
err0
PREAI
errAungkana Chatkon; Alexa Barres; Nuttaporn Samart; Sarah E. Boyle; Kenneth J. Haller; Debbie C. Crans
err分享
err收藏
Vibrational mode-specific tunneling splittings in the A states of deuterated tropolones
err2002-05-01
err0
PREAI
errHiroshi Sekiya; Yusuke Nagashima; Takeshi Tsuji; Yukio Nishimura; Akira Mori; Hitoshi Takeshita
err分享
err收藏
学者 查看更多内容