wrench::RandomServerlessScheduler
-
class RandomServerlessScheduler : public wrench::ServerlessScheduler
A class that implements a random scheduler to use in a serverless compute service. Likely (hopefully?) not representative of any real-world serverless deployment.
Public Functions
Given the list of schedulable invocations and the current system state, decide:
which images to copy to compute nodes
which images to load into memory at compute nodes
which invocations to start at compute nodes
- Parameters:
schedulable_invocations – A list of invocations whose images reside on the head node
state – The current system state
- Returns:
A SchedulingDecisions object