Skip to content

Commit 3bcfe40

Browse files
architecture diagram updated
1 parent ac9d7b7 commit 3bcfe40

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

docs/integration_portal_architecture.mmd

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ flowchart TB
2727
UDB[(🗄️ User DB)]:::db
2828
LDB[(🗄️ Logging DB)]:::db
2929

30+
%% --- Distributed Cache ---
31+
DRAGONFLY[(🧠 DragonflyDB<br/>Cache: Tokens · Permissions · Roles)]:::cache
32+
3033
%% --- Shared Observability Library ---
3134
SHARED[🧰 Shared.Observability<br/>Middlewares<br/>ActivityTraceEnricher]:::lib
3235

33-
34-
35-
3636
%% --- Flows ---
3737
%% Clients use SDKs
3838
Portal --> UM_SDK --> UM_API
@@ -50,6 +50,11 @@ flowchart TB
5050
UM_API --> UDB
5151
LOG_API --> LDB
5252

53+
%% APIs use DragonflyDB cache
54+
UM_API --> DRAGONFLY
55+
LOG_API --> DRAGONFLY
56+
Portal --> DRAGONFLY
57+
5358
%% APIs use Shared Library (middlewares + enricher)
5459
UM_API -. uses .-> SHARED
5560
LOG_API -. uses .-> SHARED
@@ -64,9 +69,9 @@ flowchart TB
6469
classDef client fill:#f0f8ff,stroke:#007acc,stroke-width:2px,color:#000,font-weight:bold;
6570
classDef sdk fill:#fff5e6,stroke:#ff9900,stroke-width:2px,color:#000;
6671
classDef api fill:#e6ffe6,stroke:#339933,stroke-width:2px,color:#000;
67-
classDef contract fill:#f9f9f9,stroke:#555555,stroke-dasharray: 3 3,color:#000;
72+
classDef contract fill:#f9f9f9,stroke:#555555,stroke-dasharray:3 3,color:#000;
6873
classDef db fill:#fff0f5,stroke:#cc0066,stroke-width:2px,color:#000;
69-
74+
classDef cache fill:#f5f0ff,stroke:#7b2cbf,stroke-width:2px,color:#000,font-weight:bold;
7075
classDef lib fill:#eef7ff,stroke:#2b6cb0,stroke-width:2px,color:#000;
7176
classDef otel fill:#fffbea,stroke:#b7791f,stroke-width:2px,color:#000;
7277
classDef infra fill:#f5f5ff,stroke:#6b46c1,stroke-width:2px,color:#000;
112 KB
Loading

docs/integration_portal_architecture.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)