1.Introduction

  FunctionPullingContainerProxy actor is FunctionPullingContainerPool actor's child actor.

2.Design consideration


  1. FunctionPullingContainerProxy actor is created by FunctionPullingContainerPool actor through two points, includes prewarm start and cold start.
  2. After creates the container, it creates ActivationClientProxy which fetches the activation from memory queue via Akka grpc
  3. After ActivationClientProxy fetches the activation, it forwards the activation to FunctionPullingContainerProxy actor.
  4. FunctionPullingContainerProxy actor initializes/runs the activation.
  5. In order to avoid the cold start, if the container executes the activation and timeout, the container may not be destroyed if configured warmedContainerKeepingCount/warmedContainerKeepingTimeout for that action.
  • No labels