FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute

Decentralize container provisioning across host VMs in function-tree structures to eliminate cold-start bottleneck

Featured image

Venue: ATC 2021

Topic: Large container image pulls dominate FaaS cold-start costs. Existing P2P approaches require dedicated root servers that don’t fit FaaS infrastructure. FaaSNet decentralizes provisioning across VMs organized in function-based tree structures.


Summary

Pulling large container images from a backing store causes significant cold-start latency (up to several minutes under contention). Existing P2P solutions require powerful, centralized root servers — incompatible with FaaS’s dynamic pool of resource-constrained VMs. FaaSNet: a lightweight, adaptive middleware that decentralizes provisioning across VMs in function trees (FTs), with a tree-balancing algorithm to handle dynamic VM membership.


Background

Cold start and container image pull

Existing approaches and their limits


Key Idea

Function Tree (FT)

Tree balancing algorithm


Design

FaaSNet architecture

  1. Function Tree (FT): organizes host VMs into a tree overlay per function type.
    • Each node can receive and forward container images to its children.
    • No single point of failure or bottleneck.
  2. Tree balancing: on VM join/leave, the algorithm restructures the FT to maintain balance and provisioning efficiency.
  3. Lightweight middleware: integrates with existing FaaS infrastructure without requiring extra dedicated hardware.

Evaluation


Meeting Notes

(to be filled)