论文标题

用于无服务器计算的故障容忍垫片

A Fault-Tolerance Shim for Serverless Computing

论文作者

Sreekanti, Vikram, Wu, Chenggang, Chhatrapati, Saurav, Gonzalez, Joseph E., Hellerstein, Joseph M., Faleiro, Jose M.

论文摘要

近年来,无服务器计算的流行度已越来越流行,越来越多的应用程序建立在功能-As-a-Service(FAAS)平台上。默认情况下,FAAS平台支持基于重试的容错性,但这对于修改共享状态的程序不足,因为在失败的情况下,它们可以不知不觉地持续一组部分更新。为了应对这一挑战,我们希望对FAAS应用程序进行的更新的原子可见性。 在本文中,我们介绍了无服务器应用程序的原子容忍度垫片。船尾在商品FAAS平台和存储引擎之间进行插值,并通过执行读取的原子隔离保证来确保更新的原子可见性。 AFT支持新协议,以确保在无服务器设置中读取原子隔离。我们证明,船尾相对于现有存储引擎引入最小的间接费用,并平稳地缩放到每秒成千上万的请求,同时阻止了大量的一致性异常。

Serverless computing has grown in popularity in recent years, with an increasing number of applications being built on Functions-as-a-Service (FaaS) platforms. By default, FaaS platforms support retry-based fault tolerance, but this is insufficient for programs that modify shared state, as they can unwittingly persist partial sets of updates in case of failures. To address this challenge, we would like atomic visibility of the updates made by a FaaS application. In this paper, we present AFT, an atomic fault tolerance shim for serverless applications. AFT interposes between a commodity FaaS platform and storage engine and ensures atomic visibility of updates by enforcing the read atomic isolation guarantee. AFT supports new protocols to guarantee read atomic isolation in the serverless setting. We demonstrate that aft introduces minimal overhead relative to existing storage engines and scales smoothly to thousands of requests per second, while preventing a significant number of consistency anomalies.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源