wrench::ServerlessComputeServiceProperty
-
class ServerlessComputeServiceProperty : public wrench::ComputeServiceProperty
Configurable properties for a ServerlessComputeService.
Public Static Attributes
-
static const std::string CONTAINER_IDLE_TIMEOUT
The timeout before an idle container is terminated and its disk/resources reclaimed.
-
static const std::string CONTAINER_STARTUP_OVERHEAD
The overhead to start a container after the image has been loaded into RAM (default value: “0”, default unit: seconds): Examples: “5”, “5s”, “5000ms”, etc.
-
static const std::string IDLE_CONTAINER_EVICTION_POLICY
The policy used to evict idle containers if space is needed at a compute node. Possible values:
LRU: evict containers that have been idle the longest (default)
RAM: evict as few containers as possible, prioritizing ones with the smallest RAM footprints
-
static const std::string INVOCATION_PROCESSING_OVERHEAD
The overhead for the compute service to process an incoming request (default value: “0”, default unit: seconds): Examples: “5”, “5s”, “5000ms”, etc.
-
static const std::string SIMULATE_REMOTE_IMAGE_DOWNLOADS
Whether the download of remote images should be simulated or not (if not, then zero time is assumed). Setting this to false can create strange re-ordering of initial requests at time zero (because so much happens exactly at time zero), which likely doesn’t matter a lot, but be warned. It’s likely better to simulate remote image downloads and just make the remove bandwidth very high when wanted to essentially ignore remote downloads.
-
static const std::string STORAGE_SERVICES_BUFFER_SIZE
The buffer size used by all internal storage services.
-
static const std::string CONTAINER_IDLE_TIMEOUT