-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcaching.drawio
More file actions
185 lines (185 loc) · 22.6 KB
/
caching.drawio
File metadata and controls
185 lines (185 loc) · 22.6 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<mxfile host="65bd71144e">
<diagram id="caP68bMxfSKUKlmd-kJX" name="Page-1">
<mxGraphModel dx="1440" dy="795" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#121212" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="18" style="edgeStyle=none;html=1;" parent="1" source="2" target="17" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="412.25" y="141.5" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
<mxGeometry x="382.25" y="30" width="60" height="80" as="geometry"/>
</mxCell>
<mxCell id="22" style="edgeStyle=none;html=1;" parent="1" source="17" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="112.25" y="69.5" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="17" value="" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;shape=mxgraph.aws3.cache_node;fillColor=#2E73B8;gradientColor=none;" parent="1" vertex="1">
<mxGeometry x="217.25" y="38.5" width="60" height="63" as="geometry"/>
</mxCell>
<mxCell id="20" value="miss" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="312.25" y="81.5" width="40" height="10" as="geometry"/>
</mxCell>
<mxCell id="23" style="edgeStyle=none;html=1;exitX=0;exitY=0;exitDx=60;exitDy=44.735137227596525;exitPerimeter=0;" parent="1" source="21" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="212.25" y="83.5" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="42.25" y="38.5" width="60" height="69.25" as="geometry"/>
</mxCell>
<mxCell id="24" value="Account <br style="font-size: 9px;">Service" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="40" y="110" width="64.5" height="21.5" as="geometry"/>
</mxCell>
<mxCell id="53" value="" style="group;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontSize=27;" parent="1" vertex="1" connectable="0">
<mxGeometry x="107" y="180" width="636.97" height="800" as="geometry"/>
</mxCell>
<mxCell id="26" style="edgeStyle=orthogonalEdgeStyle;html=1;fontSize=9;" parent="53" source="25" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400.00019029495724" y="484.8484848484848" as="targetPoint"/>
<Array as="points">
<mxPoint x="400.00019029495724" y="436.36363636363626"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="27" style="edgeStyle=orthogonalEdgeStyle;html=1;fontSize=9;" parent="53" source="25" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="533.3335870599429" y="436.36363636363626" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;fontSize=9;labelBackgroundColor=#C2A2EB;" parent="53" source="25" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="266.66679352997147" y="436.36363636363626" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="25" value="" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;shape=mxgraph.aws3.cache_node;fillColor=#2E73B8;gradientColor=none;" parent="53" vertex="1">
<mxGeometry x="327.2728829686014" y="145.45454545454544" width="145.4546146527117" height="152.72727272727272" as="geometry"/>
</mxCell>
<mxCell id="29" value="<span style="background-color: initial;"><b style=""><font style=""><font color="#9933ff" style="font-size: 26px;">User {</font><br><font style="font-size: 17px;" color="#ff8000">&nbsp; id: </font></font></b><font color="#c9c9c9" style="font-size: 17px;">number;</font> <b style="font-size: 17px;"><font color="#ff3333" style="font-size: 17px;">@unique</font></b><br style="font-size: 17px;"><b style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;">&nbsp; username:</font></b> <font color="#c9c9c9" style="font-size: 17px;">string;</font> <b style="font-size: 17px;"><font color="#ff3333" style="font-size: 17px;">@unique</font></b><br style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;"><b style="font-size: 17px;">&nbsp; email:</b> </font><font color="#c9c9c9" style="font-size: 17px;">string;&nbsp;</font></span><b style="font-size: 17px;"><font color="#ff3333" style="font-size: 17px;">@unique</font></b><span style="background-color: initial; font-size: 17px;"><br style="font-size: 17px;"><b style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;">&nbsp; role: </font></b><font color="#c9c9c9" style="font-size: 17px;">"ADMIN" | "MEMBER";</font><br style="font-size: 17px;"></span><b><font style="font-size: 26px;" color="#7f00ff">}</font></b><span style="background-color: initial; font-size: 17px;"><br style="font-size: 17px;"></span>" style="text;strokeColor=none;align=left;fillColor=none;html=1;verticalAlign=top;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=17;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;" parent="53" vertex="1">
<mxGeometry y="173.33" width="224.85" height="166.67" as="geometry"/>
</mxCell>
<mxCell id="37" style="edgeStyle=orthogonalEdgeStyle;html=1;fontSize=7;fontColor=#FF8000;" parent="53" source="30" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="218.18192197906757" y="630.3030303030303" as="targetPoint"/>
<Array as="points">
<mxPoint x="261.8183063748811" y="557.5757575757575"/>
<mxPoint x="218.18192197906757" y="557.5757575757575"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="43" value="" style="group" parent="53" vertex="1" connectable="0">
<mxGeometry x="209.81828163653668" y="460.60606060606057" width="87.75761750713605" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="30" value="user:$id" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=18;fontColor=#FF8000;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="43" vertex="1">
<mxGeometry x="15.030310180780184" width="72.72730732635586" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="42" value="" style="sketch=0;aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/Key.svg;strokeWidth=1;fontColor=#FF8000;" parent="43" vertex="1">
<mxGeometry width="15.030291425444714" height="24.24240552491083" as="geometry"/>
</mxCell>
<mxCell id="45" value="" style="group" parent="53" vertex="1" connectable="0">
<mxGeometry x="327.2728829686014" y="533.3333333333333" width="121.21217887725977" height="48.48484848484848" as="geometry"/>
</mxCell>
<mxCell id="40" value="" style="group" parent="45" vertex="1" connectable="0">
<mxGeometry x="24.242435775451952" width="96.96974310180781" height="48.48484848484848" as="geometry"/>
</mxCell>
<mxCell id="31" value="user:$email" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=18;fontColor=#FF8000;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="40" vertex="1">
<mxGeometry width="96.96974310180781" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="36" value="$id" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=18;fontColor=#CCCCCC;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;" parent="40" vertex="1">
<mxGeometry x="6.060608943862988" y="24.24242424242424" width="84.84852521408183" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="44" value="" style="sketch=0;aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/Key.svg;strokeWidth=1;fontColor=#FF8000;" parent="45" vertex="1">
<mxGeometry width="15.030291425444714" height="24.24240552491083" as="geometry"/>
</mxCell>
<mxCell id="47" value="" style="group" parent="53" vertex="1" connectable="0">
<mxGeometry x="457.6971874405329" y="460.60606060606057" width="148.36370694576593" height="48.48484848484848" as="geometry"/>
</mxCell>
<mxCell id="41" value="" style="group" parent="47" vertex="1" connectable="0">
<mxGeometry x="27.151528068506163" width="121.21217887725979" height="48.48484848484848" as="geometry"/>
</mxCell>
<mxCell id="32" value="user:$username" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=18;fontColor=#FF8000;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="41" vertex="1">
<mxGeometry width="121.21217887725979" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="35" value="$id" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=18;fontColor=#CCCCCC;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;" parent="41" vertex="1">
<mxGeometry x="18.181826831588968" y="24.24242424242424" width="84.84852521408185" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="46" value="" style="sketch=0;aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/Key.svg;strokeWidth=1;fontColor=#FF8000;" parent="47" vertex="1">
<mxGeometry width="15.030291425444714" height="24.24240552491083" as="geometry"/>
</mxCell>
<mxCell id="48" value="" style="shape=ellipse;html=1;whiteSpace=wrap;fillColor=#CCCCFF;perimeter=ellipsePerimeter;strokeWidth=1;fontSize=7;fontColor=#FF8000;" parent="53" vertex="1">
<mxGeometry x="152.12128449096102" y="654.5454545454545" width="145.4546146527117" height="72.72727272727272" as="geometry"/>
</mxCell>
<mxCell id="49" value="msgpack binary<br>{...}" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=top;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=15;fontColor=#000000;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="53" vertex="1">
<mxGeometry x="166.35" y="668.86" width="117" height="44.09" as="geometry"/>
</mxCell>
<mxCell id="50" style="edgeStyle=orthogonalEdgeStyle;html=1;fontFamily=Times New Roman;fontSize=5;fontColor=#000000;" parent="53" source="36" target="48" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="363.6365366317793" y="703.0303030303029" as="targetPoint"/>
<Array as="points">
<mxPoint x="400.00019029495724" y="703.0303030303029"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="51" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.787;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;fontFamily=Times New Roman;fontSize=5;fontColor=#000000;" parent="53" source="35" target="48" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="545.454804947669" y="557.5757575757575"/>
<mxPoint x="460.6062797335871" y="557.5757575757575"/>
<mxPoint x="460.6062797335871" y="799.9999999999999"/>
<mxPoint x="266.66679352997147" y="799.9999999999999"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="52" value="FIND UNIQUE ADAPTION&nbsp;" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontFamily=Quicksand;fontSize=38;fontColor=#FFFFFF;labelBackgroundColor=none;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="53" vertex="1">
<mxGeometry x="20" y="40" width="572.73" height="80" as="geometry"/>
</mxCell>
<mxCell id="71" value="<b style="font-size: 27px;">REDIS</b>" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=1;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontSize=27;fontColor=#FFFFFF;" parent="53" vertex="1">
<mxGeometry x="370" y="210" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="61" style="edgeStyle=orthogonalEdgeStyle;html=1;labelBackgroundColor=#C2A2EB;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontSize=38;fontColor=#C9C9C9;" parent="1" source="58" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1212.7301902949575" y="630" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="58" value="" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;shape=mxgraph.aws3.cache_node;fillColor=#2E73B8;gradientColor=none;" parent="1" vertex="1">
<mxGeometry x="1140.0028829686014" y="330.00454545454545" width="145.4546146527117" height="152.72727272727272" as="geometry"/>
</mxCell>
<mxCell id="59" value="<span style="background-color: initial; font-size: 17px;"><b style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;">id: </font></b><font color="#c9c9c9" style="font-size: 17px;">number;</font> <b style="font-size: 17px;"><font color="#ff3333" style="font-size: 17px;">@unique</font></b><br style="font-size: 17px;"><b style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;">username:</font></b> <font color="#c9c9c9" style="font-size: 17px;">string;</font> <b style="font-size: 17px;"><font color="#ff3333" style="font-size: 17px;">@unique</font></b><br style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;"><b style="font-size: 17px;">email:</b> </font><font color="#c9c9c9" style="font-size: 17px;">string;&nbsp;</font></span><b style="font-size: 17px;"><font color="#ff3333" style="font-size: 17px;">@unique</font></b><span style="background-color: initial; font-size: 17px;"><br style="font-size: 17px;"><b style="font-size: 17px;"><font color="#ff8000" style="font-size: 17px;">role: </font></b><font color="#c9c9c9" style="font-size: 17px;">"ADMIN" | "MEMBER";</font><br style="font-size: 17px;"></span><b><font color="#ff8000">createdAt:&nbsp;</font></b><font color="#c9c9c9">Date</font>" style="text;strokeColor=none;align=left;fillColor=none;html=1;verticalAlign=top;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=17;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;" parent="1" vertex="1">
<mxGeometry x="1370" y="330" width="224.85" height="110" as="geometry"/>
</mxCell>
<mxCell id="64" style="edgeStyle=orthogonalEdgeStyle;html=1;labelBackgroundColor=#C2A2EB;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontSize=38;fontColor=#C9C9C9;" parent="1" source="62" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1217.7548049476688" y="780" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="62" value="user:$role" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=18;fontColor=#FF8000;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="1157.148715509039" y="649.9960606060605" width="121.21217887725979" height="24.24242424242424" as="geometry"/>
</mxCell>
<mxCell id="63" value="" style="sketch=0;aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/Key.svg;strokeWidth=1;fontColor=#FF8000;" parent="1" vertex="1">
<mxGeometry x="1157.147187440533" y="649.9960606060605" width="15.030291425444714" height="24.24240552491083" as="geometry"/>
</mxCell>
<mxCell id="70" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="1145.0312844909608" y="789.9954545454545" width="145.45461465271183" height="72.72727272727275" as="geometry"/>
</mxCell>
<mxCell id="65" value="" style="shape=ellipse;html=1;whiteSpace=wrap;fillColor=#CCCCFF;perimeter=ellipsePerimeter;strokeWidth=1;fontSize=7;fontColor=#FF8000;" parent="70" vertex="1">
<mxGeometry width="145.4546146527117" height="72.72727272727272" as="geometry"/>
</mxCell>
<mxCell id="68" value="" style="group" parent="70" vertex="1" connectable="0">
<mxGeometry x="23.428715509039193" y="11.364545454545464" width="101.54" height="50" as="geometry"/>
</mxCell>
<mxCell id="66" value="<div style="text-align: center;"><span style="background-color: initial;">msgpack binary</span></div><div style="text-align: center;"><span style="background-color: initial;">[0, 3, 17, 81, 96...]</span></div>" style="text;strokeColor=none;align=left;fillColor=none;html=1;verticalAlign=top;whiteSpace=wrap;rounded=0;strokeWidth=1;fontSize=13;fontColor=#000000;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="68" vertex="1">
<mxGeometry width="101.54" height="50" as="geometry"/>
</mxCell>
<mxCell id="72" value="FIND MANY ADAPTION" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=1;fontFamily=Quicksand;fontSize=38;fontColor=#FFFFFF;labelBackgroundColor=none;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="989" y="210" width="572.73" height="80" as="geometry"/>
</mxCell>
<mxCell id="73" value="Text" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=1;fontFamily=Quicksand;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DQuicksand;fontSize=26;fontColor=#9933FF;" parent="1" vertex="1">
<mxGeometry x="270" y="1280" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>