arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.14859cs.DC
收藏

FaaSKeeper:以ZooKeeper为例从构建无服务器服务中学习

FaaSKeeper: Learning from Building Serverless Services with ZooKeeper as an Example

Marcin Copik, Alexandru Calotoiu, Pengyu Zhou, Konstantin Taranov, Torsten Hoefler

AI总结:

本文提出FaaSKeeper,即基于无服务器函数和云原生服务构建的ZooKeeper无服务器变体,在保持相同一致性保证和接口的同时,将不频繁工作负载下的成本降低110-719倍。

摘要:

FaaS(函数即服务)通过用动态分配的资源取代持久虚拟机,彻底改变了云计算。这一转变以局部性和有状态性换取了更适合可变和不频繁工作负载的按使用付费模式。然而,主要挑战在于使服务适应无服务器范式,同时满足功能、性能和一致性要求。在这项工作中,我们通过设计ZooKeeper的无服务器变体来拓展FaaS计算的边界,ZooKeeper是一种具有安全且无等待共识机制的集中式协调服务。我们定义了同步原语以扩展可扩展云存储的能力,并概述了使用无服务器进行高效计算的一组需求。在FaaSKeeper——第一个构建在无服务器函数和云原生服务之上的协调服务——中,我们探索了无服务器产品的局限性,并提出了对复杂且延迟敏感的应用至关重要的改进。我们基于实现一个今天即可部署到云端的ZooKeeper模型的经验,分享了无服务器设计经验教训。FaaSKeeper保持了与ZooKeeper相同的一致性保证和接口,同时采用无服务器定价模型,在不频繁工作负载上将成本降低高达110-719倍。

英文摘要:

FaaS (Function-as-a-Service) revolutionized cloud computing by replacing persistent virtual machines with dynamically allocated resources. This shift trades locality and statefulness for a pay-as-you-go model more suited to variable and infrequent workloads. However, the main challenge is to adapt services to the serverless paradigm while meeting functional, performance, and consistency requirements. In this work, we push the boundaries of FaaS computing by designing a serverless variant of ZooKeeper, a centralized coordination service with a safe and wait-free consensus mechanism. We define synchronization primitives to extend the capabilities of scalable cloud storage and outline a set of requirements for efficient computing with serverless. In FaaSKeeper, the first coordination service built on serverless functions and cloud-native services, we explore the limitations of serverless offerings and propose improvements essential for complex and latency-sensitive applications. We share serverless design lessons based on our experiences of implementing a ZooKeeper model deployable to clouds today. FaaSKeeper maintains the same consistency guarantees and interface as ZooKeeper, with a serverless price model that lowers costs up to 110-719x on infrequent workloads.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑