-
Notifications
You must be signed in to change notification settings - Fork 0
/
高并发.drawio
124 lines (124 loc) · 12.3 KB
/
高并发.drawio
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
112
113
114
115
116
117
118
119
120
121
122
123
124
<mxfile host="app.diagrams.net" modified="2024-07-19T06:59:58.072Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" etag="2JbomAvnPqB9BRyONs2t" version="24.6.5" type="github">
<diagram name="第 1 页" id="GGc7hq9nanX3dWX2lb0N">
<mxGraphModel dx="1396" dy="1244" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="EFy8fi9VzLecxw1YXBNA-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;curved=1;dashed=1;dashPattern=8 8;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-31" target="EFy8fi9VzLecxw1YXBNA-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;curved=1;dashed=1;dashPattern=12 12;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-31" target="EFy8fi9VzLecxw1YXBNA-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-31" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="236" y="214" width="209" height="205" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-18" value="" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="352" y="465" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-16" value="" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="522" y="341" width="431" height="78" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-8" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="565" width="140" height="70" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;dashPattern=8 8;flowAnimation=1;startArrow=classicThin;startFill=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-1" target="EFy8fi9VzLecxw1YXBNA-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-1" value="nginx" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="280" y="-7" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;dashPattern=8 8;startArrow=classicThin;startFill=1;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-2" target="EFy8fi9VzLecxw1YXBNA-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-2" value="应用层" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="280" y="240" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;dashPattern=12 12;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-3" target="EFy8fi9VzLecxw1YXBNA-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;dashPattern=8 8;curved=1;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-3" target="EFy8fi9VzLecxw1YXBNA-18">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;dashPattern=8 8;flowAnimation=1;startArrow=classic;startFill=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-3" target="EFy8fi9VzLecxw1YXBNA-16">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-3" value="服务层" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="280" y="360" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-4" value="网关" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d80073;strokeColor=#A50040;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="280" y="120" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-5" value="Master" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#647687;fontColor=#ffffff;strokeColor=#314354;" vertex="1" parent="1">
<mxGeometry x="280" y="570" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-6" value="Slave" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#647687;fontColor=#ffffff;strokeColor=#314354;" vertex="1" parent="1">
<mxGeometry x="360" y="570" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-7" value="Redis" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#e51400;fontColor=#ffffff;strokeColor=#B20000;" vertex="1" parent="1">
<mxGeometry x="360" y="470" width="40" height="50" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-10" value="Prometheus<br>Grafana" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d0cee2;strokeColor=#56517e;" vertex="1" parent="1">
<mxGeometry x="62" y="486" width="86" height="149" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-11" value="ELK" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fad9d5;strokeColor=#ae4132;" vertex="1" parent="1">
<mxGeometry x="558" y="486" width="86" height="149" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-12" value="MQ1" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#ffcd28;gradientColor=#ffa500;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="547" y="362.5" width="109" height="35" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-14" value="MQ2" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#ffcd28;gradientColor=#ffa500;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="683" y="362.5" width="109" height="35" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-15" value="MQ3" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#ffcd28;gradientColor=#ffa500;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="824" y="362.5" width="109" height="35" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-17" value="Redis" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#e51400;fontColor=#ffffff;strokeColor=#B20000;" vertex="1" parent="1">
<mxGeometry x="425" y="470" width="40" height="50" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-19" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fillColor=#0050ef;strokeColor=#001DBC;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="579" y="110" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-30" style="edgeStyle=isometricEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;dashPattern=8 8;flowAnimation=1;startArrow=classicThin;startFill=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-20" target="EFy8fi9VzLecxw1YXBNA-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-20" value="注册中心" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;fillColor=#ffcccc;strokeColor=#36393d;" vertex="1" parent="1">
<mxGeometry x="37" y="101" width="118" height="78" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=blockThin;startFill=1;dashed=1;dashPattern=8 8;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-4" target="EFy8fi9VzLecxw1YXBNA-19">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-28" value="Auth Server" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="629" y="125" width="98" height="30" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.875;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;dashed=1;dashPattern=8 8;flowAnimation=1;startArrow=classicThin;startFill=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-4" target="EFy8fi9VzLecxw1YXBNA-20">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-32" value="微服务层(无状态)" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="236" y="305" width="118" height="30" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-39" value="restfu请求" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="340" y="61" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-40" value="<font style="font-size: 16px;">jwt</font>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="458" y="110" width="77" height="30" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-41" value="负载均衡" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="184" y="107" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;dashPattern=8 8;flowAnimation=1;" edge="1" parent="1" source="EFy8fi9VzLecxw1YXBNA-43" target="EFy8fi9VzLecxw1YXBNA-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-43" value="前端(web/app)" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" vertex="1" parent="1">
<mxGeometry x="280.5" y="-120" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-45" value="单个Kafka Broker可以处理数百万条消息每秒" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="640" y="305" width="251" height="36" as="geometry" />
</mxCell>
<mxCell id="EFy8fi9VzLecxw1YXBNA-46" value="单个Redis实例每秒100,000到300,000次QPS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="453" y="572" width="60" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>