Repository navigation
DMOS (Demand-gated Multi-Objective Orchestration System) is a control plane for a geo-distributed federation of Kubernetes clusters: it decides how many replicas of the entry service of a microservice application are needed and in which clusters to place them, and sizes the backends of each cluster from the frontend replicas placed there.
This release is the artifact of the article that evaluates DMOS on a federation of six K3s clusters connected by Cilium ClusterMesh, with a pre-specified campaign of 90 runs.
What's in this release
- Pooled data plane: the frontend is a ClusterMesh global service with
affinity: none, so the number of replicas depends only on the total demand. - Level 2, predictive scaler: damped Holt forecast at the horizon at which new replicas become ready (10 s + actuation delay learned at run time), error-driven margin, scale-down brakes; it sets the federation-wide budget.
- Level 1, reachable demand: score
S_i = G(ψ_i) · B_i, where ψ weighs the demand of every region by its round-trip time to the cluster (τ = 50 ms) and B combines latency, capacity, network and carbon objectives. - Backend co-scaling driven by the frontend replicas of each cluster.
- Campaign harness:
experiments/run_campaign.shwith the pre-specified planexperiments/plans/2026-11-02-definitive.plan(8 arms, 3 demand regimes, 5 repetitions). - Analysis:
experiments/journal_figures.py,journal_tests.py(exact permutation tests with Holm correction) andjournal_control.pyregenerate every figure, table and statistical test of the article. - Dataset builder:
experiments/build_dataset.py, which produced the public dataset from the raw run folders.
src/ and config/ are identical to the code recorded in the runs of the campaign (commit 41aa0252).
Data
The raw data of the 90 runs, the campaign index, logs and plans, and the derived results are archived on Zenodo under CC BY 4.0:
https://doi.org/10.5281/zenodo.24282190
The Electricity Maps carbon-intensity traces used by the experiments are not redistributable; data/carbon_traces/README.md explains how to obtain them.
Reproducing the results
No testbed is needed to regenerate the results from the dataset:
pip install -r requirements-lock.txt # Python 3.12
D=../dmos-2026-2-dataset
T=$D/campaign/_campaign_2026-11-02-definitive.tsv
python experiments/journal_figures.py --results $D/runs --tsv $T --out out --no-cache
python experiments/journal_tests.py --results $D/runs --tsv $T --out out
python experiments/journal_control.py --results $D/runs --tsv $T --out out