In FaaS, users invoke remote functions, which encapsulate service(s). These functions typically need to remotely access a persistent state via external services: this makes the paradigm less attractive in edge systems, especially for IoT applications, due to the increased delay and outbound traffic. We propose to generalize the FaaS paradigm by allowing functions to alternate between remote-state and local-state phases, depending on internal and external conditions, and dedicating a container with persistent memory to functions when in a local-state phase. We present initial results showing that this simple yet powerful pattern allows to better utilize the available resources, which are scarce on edge nodes, while significantly reducing tail latencies, which is key to enable many new applications based on real-time ML, e.g., in smart vehicles and smart factory scenarios
翻译:在FaaS中,用户援引远程功能,这种功能包装服务。这些功能通常需要通过外部服务远程访问持久性状态:由于延误和外向交通增加,这种模式在边缘系统,特别是IoT应用程序中不那么具有吸引力。我们提议推广FaAS模式,允许功能根据内部和外部条件在偏远州和当地州之间交替运行,并将具有持久记忆的容器用于当地州阶段的功能。我们提出初步结果,表明这种简单而强大的模式能够更好地利用在边缘节点稀缺的现有资源,同时大大减少尾部延迟,这对于根据实时ML(例如智能车辆和智能工厂假想情况)进行许多新的应用至关重要。