A Holistic Remote Fork Strategy Toward Fast Function Scaling in Serverless Edge Computing
Serverless edge computing, despite its flexibility and efficiency, is hindered by high startup latency during peak load. Remote fork, employing either Checkpoint/Restore (C/R) or Remote Direct Memory Access (RDMA), offers a potential solution for function scaling acceleration. Although RDMA fork is faster, the opportunities are limited, whereas C/R fork is more common but slower. Moreover, the regeneration capability that a forked function can further fork new instances complicates the remote fork decisions for fast scaling. Therefore, in this paper, we are motivated to address the problem on how to holistically exploit C/R fork and RDMA fork with the consideration of the underlying infrastructure features (e.g., topology, resources, etc.) to realize fast function scaling. We first formulate it to an Integer Linear Programming (ILP) problem. We further introduce a Heat metric to assess the potential of an edge server as a fork destination according to the topology and resource availability, and propose a Heat-based fork strategy (HEAT) for both the fork destination site and the corresponding fork mode decisions. Experiment results demonstrate that HEAT improves the function scaling speed by 46% and RDMA resource utilization by 51%, compared to state-of-the-art scaling solutions.