-
Notifications
You must be signed in to change notification settings - Fork 915
/
Copy pathmatching-context.d2
61 lines (51 loc) · 1.27 KB
/
matching-context.d2
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
49
50
51
52
53
54
55
56
57
58
59
60
61
# https://d2lang.com
# Generate SVG by running `make` inside of `docs/`.
Cluster: {
grid-rows: 2
vertical-gap: 10
label: "Temporal Cluster"
style.fill: transparent
style.stroke-dash: 3
style.double-border: false
Server: {
grid-columns: 3
horizontal-gap: 120
style.fill: transparent
style.stroke-dash: 3
History: {
style.multiple: true
}
Matching: {
style.multiple: true
}
Frontend: {
style.multiple: true
}
}
Database: {
label: ""
style.opacity: 0
grid-columns: 3
horizontal-gap: 120
vertical-gap: 10
placeho1.style.opacity: 0 # hack to align Database
Database: {
label: "Database"
style.border-radius: 100
}
}
}
Outside: {
grid-rows: 2
vertical-gap: 10
horizontal-gap: 20
style.opacity: 0
Worker: {
style.multiple: true
}
placeho.style.opacity: 0 # hack to align Worker
}
Outside.Worker -> Cluster.Server.Frontend: Poll Tasks
Cluster.Server.Frontend -> Cluster.Server.Matching: Poll Tasks
Cluster.Server.History -> Cluster.Server.Matching: Add Tasks
Cluster.Server.Matching <-> Cluster.Database.Database