Tla Plus, Resilience, Software Development, DevOps.
load = FALSE; begin Scale_up: load := \E v \in 1..Len(VMs): VMs[v] > 6; if load then VMs := Append(VMs, 4); end if; end process; fair process scale_down = "autoscale down" variables load = FALSE begin Scale_Down: await Len(VMs) > 1; load := \A v \in 1..Len(VMs): VMs[v] < 4; if load then VMs :=