wrench::ServerlessComputeService

class ServerlessComputeService : public wrench::ComputeService

A serverless compute service that manages a set of compute hosts and controls access to their resource via function registration/invocation operations.

Public Functions

ServerlessComputeService(const std::string &hostname, const std::string &head_node_storage_mount_point, const std::vector<std::string> &compute_hosts, const std::shared_ptr<ServerlessScheduler> &scheduler, const WRENCH_PROPERTY_COLLECTION_TYPE &property_list = {}, const WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE &messagepayload_list = {})

Constructor.

Parameters:
  • hostname – name of the head host on which the service runs

  • head_node_storage_mount_point – the mount point of storage at the head host (where images will be stored)

  • compute_hosts – list of (homogeneous) compute node hostnames

  • scheduler – the scheduler used to decide which invocations should be executed and when

  • property_list – a property list ({} means “use all defaults”)

  • messagepayload_list – a message payload list ({} means “use all defaults”)

bool supportsCompoundJobs() override

Returns true if the service supports compound jobs.

Returns:

true or false

bool supportsFunctions() override

Returns true if the service supports functions.

Returns:

true or false

bool supportsPilotJobs() override

Returns true if the service supports pilot jobs.

Returns:

true or false

bool supportsStandardJobs() override

Returns true if the service supports standard jobs.

Returns:

true or false