wrench::ExpiringLatestServerlessIdleContainerSelectionPolicy
-
class ExpiringLatestServerlessIdleContainerSelectionPolicy : public wrench::ServerlessIdleContainerSelectionPolicy
A “whichever expires the latest” serverless scheduling idle container selection policy.
Public Functions
Select the idle container, if any, that would expire the latest.
- Parameters:
scheduling_state – the scheduling state
invocation – the invocation to execute
candidate_nodes – the nodes that can be considered
- Returns:
a ServerlessComputeNode/Container pair