Function-as-a-Service (FaaS) is a promising paradigm for applications distributed across the edge-cloud continuum. FaaS functions are stateless by nature, leading to high elasticity and transparent invocation. Supporting stateful applications, however, requires integrating data storage in FaaS, which is not trivial in an edge-cloud environment. We propose Enoki, an architecture for stateful FaaS computing replicated across the edge-cloud continuum. Enoki integrates a replicated key-value store with single-node FaaS systems at edge and cloud nodes in order to provide low-latency local data access for functions without breaking the abstraction of the FaaS programming model. We evaluate Enoki with microbenchmarks on an open-source prototype and demonstrate building a stateful FaaS application with multiple functions distributed over edge and cloud.
翻译:函数即服务(FaaS)是一种面向边缘-云连续体分布式应用的有前景的范例。FaaS函数本质上是无状态的,从而实现了高弹性和透明调用。然而,支持有状态应用需要在FaaS中集成数据存储,这在边缘-云环境中并非易事。我们提出Enoki,一种跨边缘-云连续体进行复制的有状态FaaS计算架构。Enoki将复制键值存储与边缘及云节点的单节点FaaS系统相集成,旨在在不破坏FaaS编程模型抽象的前提下,为函数提供低延迟的本地数据访问。我们通过开源原型上的微基准测试对Enoki进行评估,并展示了在边缘与云端构建一个包含多个分布式函数的有状态FaaS应用的过程。