-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathquanttrade-community-platform.drawio
More file actions
216 lines (216 loc) · 31.7 KB
/
Copy pathquanttrade-community-platform.drawio
File metadata and controls
216 lines (216 loc) · 31.7 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<mxfile host="65bd71144e">
<diagram name="Page-1" id="quanttrade-arch">
<mxGraphModel dx="1112" dy="357" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1600" pageHeight="1200" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="title-group" value="" style="group;fontFamily=Helvetica;" parent="1" connectable="0" vertex="1">
<mxGeometry x="50" y="30" width="1700" height="83" as="geometry"/>
</mxCell>
<mxCell id="title-text" value="QuantTrade Community Platform" style="text;html=1;resizable=1;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=30;fontStyle=1;fontFamily=Helvetica;" parent="title-group" vertex="1">
<mxGeometry width="800" height="42" as="geometry"/>
</mxCell>
<mxCell id="subtitle-text" value="Event-driven financial community with AI moderation on AWS + Cloudflare" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=16;fontFamily=Helvetica;" parent="title-group" vertex="1">
<mxGeometry x="5" y="40" width="800" height="25" as="geometry"/>
</mxCell>
<mxCell id="title-sep" value="" style="line;strokeWidth=2;html=1;fontSize=14;strokeColor=#FF9900;fontFamily=Helvetica;" parent="title-group" vertex="1">
<mxGeometry x="5" y="70" width="1690" height="10" as="geometry"/>
</mxCell>
<mxCell id="users-grp" value="Users" style="fillColor=#f5f5f5;strokeColor=light-dark(#666666,#D4D4D4);rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#333333;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1;perimeterSpacing=0;" parent="1" vertex="1">
<mxGeometry x="50" y="269" width="107" height="98" as="geometry"/>
</mxCell>
<mxCell id="users-icon" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#232F3D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.users;fontFamily=Helvetica;" parent="users-grp" vertex="1">
<mxGeometry x="30" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="cf-grp" value="Edge Security" style="fillColor=#EDE7F6;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="220" y="269" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="cf-icon" value="Cloudflare<div><i>CDN + WAF</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.networking_and_content_delivery;fontFamily=Helvetica;shadow=1;" parent="cf-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="aws-cloud" value="AWS Cloud" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=14;fontStyle=1;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud;strokeColor=#232F3E;fillColor=light-dark(#232F3E0D,#232F3E0D);verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;container=0;pointerEvents=0;fillStyle=auto;fontFamily=Helvetica;" parent="1" vertex="1">
<mxGeometry x="400" y="160" width="680" height="860" as="geometry"/>
</mxCell>
<mxCell id="bedrock-grp" value="AI / ML" style="fillColor=#E0F2F1;strokeColor=#01A88D;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#01A88D;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="880" y="640" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="bedrock-icon" value="Amazon Bedrock<div><i>AI Analysis</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;fontFamily=Helvetica;shadow=1;" parent="bedrock-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="redis-grp" value="Database" style="fillColor=#F5E6F7;strokeColor=#C925D1;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#C925D1;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="440" y="840" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="redis-icon" value="ElastiCache<div><i>Redis</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.elasticache;fontFamily=Helvetica;shadow=1;" parent="redis-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="s3-grp" value="Storage" style="fillColor=#E8F5E9;strokeColor=#3F8624;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#3F8624;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="880" y="840" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="s3-icon" value="Amazon S3<div><i>Media + Artifacts</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#3F8624;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3;fontFamily=Helvetica;shadow=1;" parent="s3-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="edge-1" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="users-icon" target="cf-icon" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="177" y="323"/>
<mxPoint x="256" y="324"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-2" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="cf-icon" target="alb-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-3" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="alb-icon" target="frontend-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-4" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="alb-icon" target="coreapi-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-5" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="alb-icon" target="community-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-6" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=0;exitY=0.75;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="coreapi-icon" target="sqs-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-7" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="sqs-icon" target="lambda-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-8" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="lambda-icon" target="bedrock-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="edge-9" style="html=1;fontFamily=Helvetica;fontSize=11;fontColor=#16191f;endArrow=block;endFill=1;edgeStyle=orthogonalEdgeStyle;rounded=1;strokeColor=#16191f;labelBackgroundColor=none;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="coreapi-icon" target="aurora-icon" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="badge-1" value="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="148" y="218" width="28" height="28" as="geometry"/>
</mxCell>
<mxCell id="badge-2" value="2" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="355" y="258" width="28" height="28" as="geometry"/>
</mxCell>
<mxCell id="badge-3" value="3" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="640" y="375" width="28" height="28" as="geometry"/>
</mxCell>
<mxCell id="badge-4" value="4" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="530" y="585" width="28" height="28" as="geometry"/>
</mxCell>
<mxCell id="badge-5" value="5" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="590" y="632" width="28" height="28" as="geometry"/>
</mxCell>
<mxCell id="badge-6" value="6" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="810" y="755" width="28" height="28" as="geometry"/>
</mxCell>
<mxCell id="legend-bg" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.rect;fillColor2=none;strokeWidth=1;size=20;indent=5;fillColor=light-dark(#EDF3FF,#305363);strokeColor=#6c8ebf;fontFamily=Helvetica;" parent="1" vertex="1">
<mxGeometry x="1150" y="30" width="650" height="930" as="geometry"/>
</mxCell>
<mxCell id="legend-container" value="" style="group;fontFamily=Helvetica;" parent="1" connectable="0" vertex="1">
<mxGeometry x="1170" y="55" width="602" height="900" as="geometry"/>
</mxCell>
<mxCell id="legend-title" value="Architecture Steps" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=18;fontStyle=1;fontFamily=Helvetica;labelBackgroundColor=none;" parent="legend-container" vertex="1">
<mxGeometry width="300" height="30" as="geometry"/>
</mxCell>
<mxCell id="step-1-lg" value="" style="group;fontFamily=Helvetica;" parent="legend-container" connectable="0" vertex="1">
<mxGeometry y="45" width="600" height="90" as="geometry"/>
</mxCell>
<mxCell id="step-1-badge-lg" value="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" parent="step-1-lg" vertex="1">
<mxGeometry x="-50" y="2" width="40" height="38" as="geometry"/>
</mxCell>
<mxCell id="step-1-desc-lg" value="<div><b>Edge Security</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));"><b><font style="font-size: 15px;">-</font> </b>Users access QuantTrade through Cloudflare for CDN acceleration, WAF protection, DDoS mitigation, and bot management</span></div>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" parent="step-1-lg" vertex="1">
<mxGeometry x="52" width="548" height="90" as="geometry"/>
</mxCell>
<mxCell id="step-2-lg" value="" style="group;fontFamily=Helvetica;" parent="legend-container" connectable="0" vertex="1">
<mxGeometry y="145" width="600" height="90" as="geometry"/>
</mxCell>
<mxCell id="step-2-badge-lg" value="2" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" parent="step-2-lg" vertex="1">
<mxGeometry x="-50" y="2" width="40" height="38" as="geometry"/>
</mxCell>
<mxCell id="step-2-desc-lg" value="<div><b>Load Balancing</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));"><b><font style="font-size: 15px;">-</font> </b>ALB terminates HTTPS and distributes traffic to ECS Fargate services using path-based routing rules</span></div>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" parent="step-2-lg" vertex="1">
<mxGeometry x="52" width="548" height="90" as="geometry"/>
</mxCell>
<mxCell id="step-3-lg" value="" style="group;fontFamily=Helvetica;" parent="legend-container" connectable="0" vertex="1">
<mxGeometry y="245" width="600" height="110" as="geometry"/>
</mxCell>
<mxCell id="step-3-badge-lg" value="3" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" parent="step-3-lg" vertex="1">
<mxGeometry x="-50" y="2" width="40" height="38" as="geometry"/>
</mxCell>
<mxCell id="step-3-desc-lg" value="<div><b>Compute Services</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));"><b><font style="font-size: 15px;">-</font> </b>Next.js Frontend serves SSR pages; FastAPI Core API handles auth, market data, and copilot; Community Service manages posts, comments, and feeds</span></div>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" parent="step-3-lg" vertex="1">
<mxGeometry x="52" width="548" height="110" as="geometry"/>
</mxCell>
<mxCell id="step-4-lg" value="" style="group;fontFamily=Helvetica;" parent="legend-container" connectable="0" vertex="1">
<mxGeometry y="365" width="600" height="90" as="geometry"/>
</mxCell>
<mxCell id="step-4-badge-lg" value="4" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" parent="step-4-lg" vertex="1">
<mxGeometry x="-50" y="2" width="40" height="38" as="geometry"/>
</mxCell>
<mxCell id="step-4-desc-lg" value="<div><b>Event-Driven Processing</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));"><b><font style="font-size: 15px;">-</font> </b>Core API publishes domain events to SQS for async moderation, notification fanout, and feed ranking updates</span></div>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" parent="step-4-lg" vertex="1">
<mxGeometry x="52" width="548" height="90" as="geometry"/>
</mxCell>
<mxCell id="step-5-lg" value="" style="group;fontFamily=Helvetica;" parent="legend-container" connectable="0" vertex="1">
<mxGeometry y="465" width="600" height="110" as="geometry"/>
</mxCell>
<mxCell id="step-5-badge-lg" value="5" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" parent="step-5-lg" vertex="1">
<mxGeometry x="-50" y="2" width="40" height="38" as="geometry"/>
</mxCell>
<mxCell id="step-5-desc-lg" value="<div><b>AI Moderation Pipeline</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));"><b><font style="font-size: 15px;">-</font> </b>Lambda consumes SQS events and validates financial content via Amazon Bedrock for claim detection, manipulation patterns, and SEC compliance</span></div>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" parent="step-5-lg" vertex="1">
<mxGeometry x="52" width="548" height="110" as="geometry"/>
</mxCell>
<mxCell id="step-6-lg" value="" style="group;fontFamily=Helvetica;" parent="legend-container" connectable="0" vertex="1">
<mxGeometry y="585" width="600" height="110" as="geometry"/>
</mxCell>
<mxCell id="step-6-badge-lg" value="6" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" parent="step-6-lg" vertex="1">
<mxGeometry x="-50" y="2" width="40" height="38" as="geometry"/>
</mxCell>
<mxCell id="step-6-desc-lg" value="<div><b>Data Layer</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));"><b><font style="font-size: 15px;">-</font> </b>Neon PostgreSQL stores users, posts, and market data with autoscaling and read replicas; ElastiCache Redis caches sessions and feeds; S3 stores media uploads and ML artifacts</span></div>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" parent="step-6-lg" vertex="1">
<mxGeometry x="52" width="548" height="110" as="geometry"/>
</mxCell>
<mxCell id="legend-line-styles-grp" value="Line Styles" style="fillColor=light-dark(#F5F5F5,#29393B);strokeColor=#666666;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#666666;fontFamily=Helvetica;container=1;collapsible=0;" parent="legend-container" vertex="1">
<mxGeometry y="720" width="300" height="80" as="geometry"/>
</mxCell>
<mxCell id="legend-line-solid" value="───▶ Data flow" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontFamily=Helvetica;labelBackgroundColor=none;" parent="legend-line-styles-grp" vertex="1">
<mxGeometry x="20" y="30" width="260" height="30" as="geometry"/>
</mxCell>
<mxCell id="alb-grp" value="Load Balancing" style="fillColor=#EDE7F6;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="660" y="240" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="alb-icon" value="Elastic Load<br>Balancing<div><i>HTTPS routing</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.elastic_load_balancing;fontFamily=Helvetica;shadow=1;" parent="alb-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="coreapi-grp" value="Compute" style="fillColor=#FFF2E8;strokeColor=#ED7100;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#ED7100;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="660" y="440" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="coreapi-icon" value="AWS Fargate<div><i>Core API</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.fargate;fontFamily=Helvetica;shadow=1;" parent="coreapi-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="community-grp" value="Compute" style="fillColor=#FFF2E8;strokeColor=#ED7100;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#ED7100;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="880" y="440" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="community-icon" value="AWS Fargate<div><i>Community Svc</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.fargate;fontFamily=Helvetica;shadow=1;" parent="community-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="frontend-grp" value="Compute" style="fillColor=#FFF2E8;strokeColor=#ED7100;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#ED7100;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="440" y="440" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="frontend-icon" value="AWS Fargate<div><i>Next.js Frontend</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.fargate;fontFamily=Helvetica;shadow=1;" parent="frontend-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="sqs-grp" value="Messaging" style="fillColor=#FCE4EC;strokeColor=#E7157B;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#E7157B;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="440" y="640" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="sqs-icon" value="Amazon SQS<div><i>Domain Events</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sqs;fontFamily=Helvetica;shadow=1;" parent="sqs-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="lambda-grp" value="Compute" style="fillColor=#FFF2E8;strokeColor=#ED7100;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#ED7100;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="660" y="640" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="lambda-icon" value="AWS Lambda<div><i>Moderation</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;fontFamily=Helvetica;shadow=1;" parent="lambda-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
<mxCell id="aurora-grp" value="Database" style="fillColor=#F5E6F7;strokeColor=#C925D1;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#C925D1;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" parent="1" vertex="1">
<mxGeometry x="660" y="840" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="aurora-icon" value="Neon PostgreSQL<div><i>Serverless DB</i></div>" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.rds;fontFamily=Helvetica;shadow=1;" parent="aurora-grp" vertex="1">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>