Wiki source code of High-Level Architecture Mermaid
Version 3.1 by Robert Schaub on 2025/12/25 13:35
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{mermaid}} | ||
| 2 | graph TB | ||
| 3 | subgraph Interface_Layer["🖥️ Interface Layer"] | ||
| 4 | UI[Web UI<br/>Browse & Submit] | ||
| 5 | API[REST API<br/>Programmatic Access] | ||
| 6 | AUTH[Authentication<br/>& Authorization] | ||
| 7 | end | ||
| 8 | subgraph Processing_Layer["⚙️ Processing Layer"] | ||
| 9 | AKEL[AKEL Pipeline<br/>Parallel Processing<br/>10-18 seconds] | ||
| 10 | BG[Background Jobs<br/>Source Scoring,<br/>Cache, Archival] | ||
| 11 | QM[Quality Monitoring<br/>Automated Checks] | ||
| 12 | end | ||
| 13 | subgraph Data_Layer["💾 Data & Storage Layer"] | ||
| 14 | PG[(PostgreSQL<br/>Primary Database<br/>All Core Data)] | ||
| 15 | REDIS[(Redis<br/>Cache)] | ||
| 16 | S3[(S3<br/>Archives)] | ||
| 17 | end | ||
| 18 | UI --> AUTH | ||
| 19 | API --> AUTH | ||
| 20 | AUTH --> AKEL | ||
| 21 | AUTH --> QM | ||
| 22 | AKEL --> PG | ||
| 23 | AKEL --> REDIS | ||
| 24 | BG --> PG | ||
| 25 | BG --> S3 | ||
| 26 | QM --> PG | ||
| 27 | REDIS --> PG | ||
| 28 | style Interface_Layer fill:#e1f5ff | ||
| 29 | style Processing_Layer fill:#fff4e1 | ||
| 30 | style Data_Layer fill:#f0f0f0 | ||
| 31 | style AKEL fill:#ffcccc | ||
| 32 | style PG fill:#9999ff | ||
| 33 | {{/mermaid}} | ||
| 34 | |||
| 35 | **Three-Layer Architecture** - Clean separation of concerns: Interface Layer (user interactions), Processing Layer (AKEL + background jobs), Data Layer (PostgreSQL primary + Redis cache + S3 archives). Background scheduler configured by system administrators. |