Skip to content

Commit 1d8769c

Browse files
committed
DOC-3498: Clean up architecture overview diagram
Reduce edge clutter by connecting a single representative replica to downstream services and grouping the data layer into a subgraph. Fix SVG width to use a fixed pixel value consistent with other diagrams in the set.
1 parent 157f923 commit 1d8769c

2 files changed

Lines changed: 12 additions & 26 deletions

File tree

modules/ROOT/images/tinymceai-on-premises/complete-guide-fig-1.mmd

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,23 @@ flowchart TB
66

77
subgraph App["Application layer (stateless, N replicas)"]
88
LB["Reverse proxy / Load balancer<br>nginx · ALB · K8s Ingress<br>TLS termination · SSE pass-through"]
9-
AI1["ai-service replica 1"]
10-
AI2["ai-service replica 2"]
119
AIN["ai-service replica N"]
12-
LB --> AI1
13-
LB --> AI2
10+
AI2["ai-service replica 2"]
11+
AI1["ai-service replica 1"]
1412
LB --> AIN
13+
LB --> AI2
14+
LB --> AI1
1515
end
1616

1717
subgraph Data["Shared data layer"]
18-
DB[("SQL database<br>MySQL 8.0+ or<br>PostgreSQL 13+")]
19-
Cache[("Redis 3.2.6+<br>single node or cluster")]
20-
Storage[("File storage<br>database · filesystem ·<br>S3 · Azure Blob")]
18+
DB[("SQL database<br>MySQL 8.0+ / PostgreSQL 13+")]
19+
Cache[("Redis 3.2.6+")]
20+
Storage[("File storage<br>S3 · Azure Blob · filesystem")]
2121
end
2222

23-
AI1 --> DB
24-
AI1 --> Cache
25-
AI1 --> Storage
26-
AI2 --> DB
27-
AI2 --> Cache
28-
AI2 --> Storage
29-
AIN --> DB
30-
AIN --> Cache
31-
AIN --> Storage
32-
33-
AI1 -->|HTTPS| LLM["LLM provider<br>OpenAI · Anthropic · Google ·<br>Azure · Bedrock · Vertex · self-hosted"]
34-
AI2 -->|HTTPS| LLM
35-
AIN -->|HTTPS| LLM
23+
AI1 --> Data
3624

37-
AI1 -.-> Obs["OpenTelemetry · Langfuse ·<br>log aggregator"]
38-
AI2 -.-> Obs
39-
AIN -.-> Obs
25+
AI1 -->|"HTTPS"| LLM["LLM provider<br>OpenAI · Anthropic · Google ·<br>Azure · Bedrock · Vertex ·<br>self-hosted"]
4026

41-
AI1 -.->|tool calls| MCP["MCP servers<br>internal knowledge bases"]
42-
AI2 -.-> MCP
27+
AI1 -.->|"telemetry"| Obs["OpenTelemetry · Langfuse"]
28+
AI1 -.->|"tool calls"| MCP["MCP servers"]

0 commit comments

Comments
 (0)