1.Introduction
FunctionPullingContainerProxy actor is FunctionPullingContainerPool actor's child actor.
2.Design consideration
- FunctionPullingContainerProxy actor is created by FunctionPullingContainerPool actor through two points, includes prewarm start and cold start.
- After creates the container, it creates ActivationClientProxy which fetches the activation from memory queue via Akka grpc
- After ActivationClientProxy fetches the activation, it forwards the activation to FunctionPullingContainerProxy actor.
- FunctionPullingContainerProxy actor initializes/run the activation.
- 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.