This commit is contained in:
2026-01-25 00:05:49 +01:00
parent 13350d64b8
commit a9ed1c0281
18 changed files with 613 additions and 257 deletions

48
figures/architecture.mmd Normal file
View File

@@ -0,0 +1,48 @@
flowchart LR
%% Clients (Frontends)
subgraph Clients["Clients (Frontends)"]
SC["Spiel-Client"]
DC["Dashboard-Client"]
end
%% Ingestion
subgraph Ingestion["Telemetry Ingestion"]
CG["Consent-Gate"]
COL["Collector<br/>(Auth + Schema-Validation)"]
end
%% Separation
subgraph Streams["Trennung der Datenströme"]
DID["Didaktik-Stream<br/>(Lern/Verhalten)"]
SYS["System-Stream<br/>(Fehler/Performance)"]
end
%% Storage
subgraph Storage["Persistenz"]
LRS["LRS / Event Store<br/>(Rohdaten)"]
end
%% Analytics
subgraph Analytics["Analytics"]
AGG["Aggregation<br/>(KPIs/Indikatoren)"]
ADB["Analytics DB<br/>(Serving Layer)"]
end
%% Governance
subgraph Gov["Governance"]
RB["RBAC/ABAC"]
RET["Retention/Löschung"]
AUD["Audit Logs"]
end
%% Flows
SC --> CG --> COL
COL --> DID --> LRS
COL --> SYS --> LRS
LRS --> AGG --> ADB --> DC
%% Governance as controls
RB -. "Zugriff" .-> LRS
RB -. "Zugriff" .-> ADB
RET -. "Regeln" .-> LRS
AUD <-. "Zugriffe/Exporte" .-> DC