Plasma GitLab Archive
Projects Blog Knowledge

Module Netplex_workload


module Netplex_workload: sig .. end
Workload management

Workload managers control when additional containers are started or idle containers are stopped.


val create_constant_workload_manager : int -> Netplex_types.workload_manager
A constant number of threads is created (the int argument). If threads crash, new threads are created until the specified number is again reached.
val constant_workload_manager_factory : Netplex_types.workload_manager_factory
Reads a workload_manager section like

 workload_manager {
      type = "constant";
      threads = <n>;
    }
 

class type dynamic_workload_config = object .. end
val create_dynamic_workload_manager : dynamic_workload_config -> Netplex_types.workload_manager
val dynamic_workload_manager_factory : Netplex_types.workload_manager_factory
Reads a workload_manager section like

 workload_manager {
      type = "dynamic";
      max_jobs_per_thread = <n>;
      min_free_job_capacity = <n>;
      max_free_job_capacity = <n>;
      max_threads = <n>;
    }
 

val workload_manager_factories : Netplex_types.workload_manager_factory list
All built-in workload manager factories
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml