planner_architecture.d2 918 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
direction: down

planner: "Planner Component" {
  style.font-size: 32

  inputs: {
    direction: right
    style.border-radius: 8

    mc: "Metric Collector\n(Prometheus)" {
      style.font-size: 24
      shape: rectangle
    }
    lp: "Load Predictor\n(ARIMA / Kalman / Prophet)" {
      style.font-size: 24
      shape: rectangle
    }
    pi: "Performance Interpolator\n(NPZ profiling data)" {
      style.font-size: 24
      shape: rectangle
    }
  }

  sa: "Scaling Algorithm" {
    style.font-size: 28
    shape: rectangle
    style.bold: true
  }

  connector: "Connector Layer" {
    style.font-size: 28
    direction: right

    kc: "KubernetesConnector\n(PATCH DGD)" {
      style.font-size: 24
      shape: rectangle
    }
    vc: "VirtualConnector\n(Runtime bridge)" {
      style.font-size: 24
      shape: rectangle
    }
  }

  inputs.mc -> sa
  inputs.lp -> sa
  inputs.pi -> sa
  sa -> connector
}