forked from abruzzi/graphviz-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nepsd-arch.dot
111 lines (79 loc) · 2.95 KB
/
nepsd-arch.dot
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
digraph nepsd {
fontname="Microsoft YaHei";
fontsize=10;
dir=TD;
graph [dpi=180];
node [color="#3C7CCC", shape="record", fontname="Consolas", fontsize=10];
edge [color="#636260", fontname="Consolas", fontsize=10, arrowhead="empty", style="dashed"];
desktop [label="Desktop - Chrome/Firefox", color="#E16726", style="filled", fontcolor="#ffffff"];
pad [label="Pad/Laptop - Chrome/Safari", color="#0A9DE5", style="filled", fontcolor="#ffffff"];
load_balance [label="Load Balance - Nginx", style="filled", color="#029802", fontcolor="#ffffff"];
desktop -> load_balance;
pad -> load_balance;
subgraph cluster_c1 {
label="Application Cluster 1";
style="filled"
color="#F7F7F7"
web_server_c1 [label="Web Server - Tomcat/Jetty", style="filled", color="#FDDD75", fontcolor="#333333"];
subgraph cluster_exporter {
label="Exporter Instances"
style="filled"
color="#EBEBEB"
exporter1 [label="Site Exporter", shape="component"];
exporter2 [label="Site Exporter", shape="component"];
exporter3 [label="Site Exporter", shape="component"];
}
message_queue_c1 [label="Queue Server - RabbitMQ", style="filled", color="#FF6604", fontcolor="#ffffff"];
subgraph cluster_importer {
label="Importer Instances"
style="filled"
color="#EBEBEB"
importer1 [label="DIY Importer", shape="component"];
importer2 [label="DIY Importer", shape="component"];
}
database_c1 [label="NoSQL Database - Mongo", style="filled", color="#1E8A36", fontcolor="#ffffff"];
}
web_server_c1 -> message_queue_c1;
message_queue_c1 -> exporter1;
message_queue_c1 -> exporter2;
message_queue_c1 -> exporter3;
message_queue_c1 -> importer1;
message_queue_c1 -> importer2;
web_server_c1 -> database_c1;
exporter1 -> database_c1;
exporter2 -> database_c1;
exporter3 -> database_c1;
importer1 -> database_c1;
importer2 -> database_c1;
subgraph cluster_c2 {
label="Application Cluster 2";
style="filled"
color="#F7F7F7"
web_server_c2 [label="Web Server - Tomcat/Jetty", style="filled", color="#FDDD75", fontcolor="#333333"];
subgraph cluster_importer2 {
label="Importer Instances"
style="filled"
color="#EBEBEB"
importer3 [label="DIY Importer", shape="component"];
importer4 [label="DIY Importer", shape="component"];
}
subgraph cluster_exporter2 {
label="Exporter Instances"
style="filled"
color="#EBEBEB"
exporter4 [label="Site Exporter", shape="component"];
}
message_queue_c2 [label="Queue Server - RabbitMQ", style="filled", color="#FF6604", fontcolor="#ffffff"];
database_c2 [label="NoSQL Database - Mongo", style="filled", color="#1E8A36", fontcolor="#ffffff"];
}
load_balance -> web_server_c1;
load_balance -> web_server_c2;
web_server_c2 -> message_queue_c2;
message_queue_c2 -> exporter4;
message_queue_c2 -> importer3;
message_queue_c2 -> importer4;
web_server_c2 -> database_c2;
exporter4 -> database_c2;
importer3 -> database_c2;
importer4 -> database_c2;
}