wrench::ReactiveScaleUpNodeActivationPolicy

class ReactiveScaleUpNodeActivationPolicy : public wrench::ServerlessNodeScalingPolicy

A serverless scheduling node activation policy that activates one node each time no new invocation could be placed anywhere.

Public Functions

virtual std::pair<unsigned long, std::set<std::shared_ptr<ServerlessComputeNode>>> makeNodeScalingPlan(const std::shared_ptr<ServerlessSchedulingState> &scheduling_state) override

Select a number of nodes to activate.

Parameters:

scheduling_state – the scheduling state

Returns:

a set of compute nodes