论文标题

FAASKEEPER:通过Zookeeper构建无服务器服务来学习一个例子

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

论文作者

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

论文摘要

FAA(功能 - 服务)通过用动态分配的资源代替持久的虚拟机来彻底改变云计算。这种轮班交易的当地和状态性,用于付费的模型,更适合可变和不频繁的工作负载。但是,主要的挑战是在满足功能,性能和一致性要求的同时,将服务调整为无服务器范式。在这项工作中,我们通过设计一个具有安全且无需同意的共识机制的集中协调服务的无服务器变体来突破FAA计算的边界。我们定义同步原始图,以扩展可扩展云存储的功能,并概述一组使用无服务器的有效计算的要求。在FAASKEEPER中,第一个建立在无服务器功能和云本地服务上的协调服务,我们探讨了无服务器产品的局限性,并提出了对复杂和延迟敏感应用程序必不可少的改进。我们根据我们在当今云中实施Zookeeper模型的经验共享无服务器设计课程。 FAASKeeper保持与Zookeeper相同的一致性保证和界面,其无服务器价格模型在不经常工作的工作量上降低了成本高达110-719X。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

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