wrench::ServerlessSchedulingDecisions

class ServerlessSchedulingDecisions

A data structure that stores all scheduling decisions made by a serverless scheduler:

  • Which idle container to terminate

  • Which layer to evict from RAM

  • Which layer to evict from disk

  • Which images should be copied from the head node to compute nodes’ disks, initiated right now

  • Which images should be loaded into compute node’s RAMs, initiated right now

  • Which invocations should be dispatched right now

Public Functions

inline void print()

Method to print scheduling decisions.

Public Members

std::vector<TerminateIdleContainer> idle_container_terminations

The list of idle container terminations

std::vector<CopyImageLayer> image_layer_copies_to_disk

The list of image layer copies to storage at compute nodes.

std::vector<LoadImageLayer> image_layer_loads_to_RAM

The list of image layer loads in RAM at compute nodes.

std::vector<DispatchInvocation> invocation_dispatches

The list of function invocations at compute nodes.

std::vector<EvictLayerFromDisk> layer_evictions_from_disk

The list of layer from disk evictions.

std::vector<EvictLayerFromRAM> layer_evictions_from_ram

The list of layer from RAM evictions.