Changes for page High-Level Architecture Mermaid
Last modified by Robert Schaub on 2025/12/25 13:58
From version 3.1
edited by Robert Schaub
on 2025/12/25 13:35
on 2025/12/25 13:35
Change comment:
Rollback to version 1.1
To version 4.1
edited by Robert Schaub
on 2025/12/25 13:58
on 2025/12/25 13:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,35 +1,40 @@ 1 1 {{mermaid}} 2 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 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 + LLM[LLM Abstraction Layer<br/>Multi-Provider Support<br/>Anthropic OpenAI Google] 11 + BG[Background Jobs<br/>Source Scoring,<br/>Cache, Archival] 12 + QM[Quality Monitoring<br/>Automated Checks] 13 + end 14 + subgraph Data_Layer["💾 Data & Storage Layer"] 15 + PG[(PostgreSQL<br/>Primary Database<br/>All Core Data)] 16 + REDIS[(Redis<br/>Cache & LLM Config)] 17 + S3[(S3<br/>Archives)] 18 + end 19 + UI --> AUTH 20 + API --> AUTH 21 + AUTH --> AKEL 22 + AUTH --> QM 23 + AKEL --> LLM 24 + LLM --> PG 25 + LLM --> REDIS 26 + AKEL --> PG 27 + AKEL --> REDIS 28 + BG --> PG 29 + BG --> S3 30 + QM --> PG 31 + REDIS --> PG 32 + style Interface_Layer fill:#e1f5ff 33 + style Processing_Layer fill:#fff4e1 34 + style Data_Layer fill:#f0f0f0 35 + style AKEL fill:#ffcccc 36 + style LLM fill:#ccffcc 37 + style PG fill:#9999ff 33 33 {{/mermaid}} 34 34 35 -**Three-Layer Architecture** - Clean separation ofconcerns: Interface Layer (user interactions), Processing Layer (AKEL + background jobs), Data Layer (PostgreSQL primary + Redis cache + S3 archives).Backgroundscheduler configuredbysystemadministrators.40 +**Three-Layer Architecture** - Clean separation with LLM abstraction: Interface Layer (user interactions), Processing Layer (AKEL + LLM Abstraction + background jobs), Data Layer (PostgreSQL primary + Redis cache/config + S3 archives). **LLM Abstraction Layer** provides provider-agnostic access to Anthropic, OpenAI, Google, and local models with automatic failover.