-
Notifications
You must be signed in to change notification settings - Fork 1
architecture_ecosystem
Stand: 17. November 2025
Zweck: Zentrale Übersicht über alle ThemisDB-Komponenten, APIs, Tools und SDKs
Das ThemisDB-Ökosystem besteht aus mehreren Komponenten:
- Core Database - Die Hauptdatenbank (themis_server)
- Client SDKs - Programmatische Zugriffsbibliotheken
- Admin Tools - Desktop-Anwendungen für Verwaltung und Monitoring
- Adapters - Daten-Ingestion und Integration
- APIs - HTTP REST Endpoints
Verzeichnis: src/server/
Binary: themis_server / themis_server.exe
Port: 8765 (Standard)
- Multi-Model Database (Relational, Graph, Vector, Time-Series)
- MVCC Transactions mit Snapshot Isolation
- HNSW Vector Search mit Persistenz
- AQL Query Language
- Prometheus Metrics Export
- Change Data Capture (CDC)
- deployment.md - Installation und Deployment
- operations_runbook.md - Operations-Guide
- observability/prometheus_metrics.md - Monitoring
Verzeichnis: clients/python/
Paket: themis-db (PyPI - geplant)
Status: ✅ Experimentell/MVP
Features:
- Topologie-Discovery (Multi-Node Support)
- CRUD Operations
- Query Execution (AQL)
- Vector Search
- Batch Operations
- Cursor Pagination
Installation:
cd clients/python
pip install -e .Beispiel:
from themis import ThemisClient
client = ThemisClient(["http://localhost:8765"], namespace="default")
print(client.health())
# Entity CRUD
client.put_entity("users:alice", {"name": "Alice", "age": 30})
entity = client.get_entity("users:alice")
# Query
results = client.query("FOR u IN users FILTER u.age > 25 RETURN u")
# Vector Search
results = client.vector_search([0.1, 0.2, ...], k=10)Dokumentation:
-
clients/python/README.md- Quickstart - docs/clients/python_sdk_quickstart.md - Vollständiger Guide (geplant)
Verzeichnis: clients/javascript/
Paket: @themisdb/client (npm - geplant)
Status: ⏳ In Entwicklung
Features (geplant):
- TypeScript-Typen
- Query Execution
- Vector Search
- Batch Operations
- ESLint/TSC Setup
Installation (geplant):
npm install @themisdb/clientDokumentation:
clients/javascript/README.md- docs/clients/javascript_sdk_quickstart.md - Vollständiger Guide (geplant)
Verzeichnis: clients/rust/
Crate: themis-client (crates.io - geplant)
Status: ⏳ Alpha
Features:
- Topologie-Cache
- CRUD Operations
- Query & Vector Search
- Cargo Library Configuration
Installation (geplant):
[dependencies]
themis-client = "0.1.0"Dokumentation:
- docs/clients/rust_sdk_quickstart.md - Vollständiger Guide
- Java SDK - Geplant für Enterprise-Integration
- C++ SDK - Für High-Performance Anwendungen
- Go SDK - Für Cloud-Native Deployments
Verzeichnis: tools/
Plattform: Windows (.NET 8)
Status: ✅ MVP AuditLogViewer abgeschlossen
Features:
- Anzeige verschlüsselter Audit-Logs
- Zeitbereichsfilter, Benutzerfilter, Aktionsfilter
- Paginierung (100 Einträge pro Seite)
- CSV-Export
- Moderne WPF-UI mit DataGrid
Architektur:
- MVVM-Pattern (CommunityToolkit.Mvvm)
- Dependency Injection
- Async/Await für API-Calls
Voraussetzungen:
- .NET 8 SDK
- Zugriff auf themis_server API (
/api/audit)
Installation:
cd tools
dotnet restore
dotnet build
cd Themis.AuditLogViewer
dotnet runDokumentation:
- tools/README.md - Vollständiger Guide
- tools/STATUS.md - Entwicklungsstand
| Tool | Status | Beschreibung |
|---|---|---|
| Themis.SAGAVerifier | ⏳ Geplant | Manipulationsschutz-Verifikation |
| Themis.PIIManager | ⏳ Geplant | PII-Detection und Redaction Management |
| Themis.KeyRotationDashboard | ⏳ Geplant | Encryption Key Management |
| Themis.RetentionManager | ⏳ Geplant | Retention Policy Management |
| Themis.ClassificationDashboard | ⏳ Geplant | Data Classification Viewer |
| Themis.ComplianceReports | ⏳ Geplant | DSGVO/eIDAS Compliance Reports |
Shared Library:
- Themis.AdminTools.Shared - HTTP-Client, DTOs, Utilities
Verzeichnis: adapters/covina_fastapi_ingestion/
Typ: Python FastAPI Application
Port: 8001 (Standard)
Status: ✅ Produktiv
Features:
- File-Upload (
POST /ingest/file) - Text/PDF/DOCX → THEMIS - JSON-Direktimport (
POST /ingest/json) - Optional: Embedding-Erzeugung (sentence-transformers)
- Minimal Dependencies (ohne UDS3-Framework)
Use Cases:
- Text-Dokumente ingestion
- Content/Chunks/Edges automatisch erzeugen
- Preprocessing für Vector Search
Installation:
cd adapters\covina_fastapi_ingestion
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
$env:THEMIS_URL = "http://127.0.0.1:8765"
uvicorn app:app --host 127.0.0.1 --port 8001 --reloadBeispiel:
# Textdatei ingestieren
Invoke-WebRequest -Uri http://127.0.0.1:8001/ingest/file `
-Method POST -InFile .\document.txt -ContentType "text/plain"Dokumentation:
- Kafka Adapter - Stream-Processing Integration
- S3 Adapter - Cloud Storage Ingestion
- Database Sync Adapter - PostgreSQL/MySQL CDC
Endpoints:
-
GET /entities/{key}- Entity abrufen -
PUT /entities/{key}- Entity erstellen/aktualisieren -
DELETE /entities/{key}- Entity löschen -
POST /entities/batch- Batch-Operationen
Dokumentation: apis/rest_api.md - Geplant
Endpoints:
-
POST /query- AQL Query ausführen -
POST /query/explain- Query-Plan anzeigen
Beispiel:
POST /query
{
"query": "FOR u IN users FILTER u.age > 25 RETURN u",
"bind_vars": {}
}Dokumentation:
Endpoints:
-
POST /vector/search- k-NN Suche -
POST /vector/batch_insert- Batch-Insert -
DELETE /vector/by-filter- Löschen nach Filter -
POST /vector/index/save- Index speichern -
POST /vector/index/load- Index laden -
GET /vector/index/config- Konfiguration abrufen -
PUT /vector/index/config- Konfiguration ändern
Dokumentation: vector_ops.md
Endpoints:
-
POST /ts/put- DataPoint hinzufügen -
POST /ts/query- Zeitreihen abfragen -
POST /ts/aggregate- Aggregationen berechnen -
GET /ts/config- Konfiguration abrufen
Dokumentation: time_series.md
Endpoints:
-
POST /admin/backup- Backup erstellen -
POST /admin/restore- Backup wiederherstellen -
GET /api/audit- Audit-Logs abrufen -
GET /api/audit/export/csv- Audit-Logs als CSV
Dokumentation:
- deployment.md
- tools/README.md - Audit API
Endpoints:
-
GET /metrics- Prometheus Metrics -
GET /health- Health Check -
GET /stats- System-Statistiken -
GET /config- Server-Konfiguration
Dokumentation: observability/prometheus_metrics.md
debug_graph_keys.cpp - Graph Key Debugging Tool
- Verzeichnis:
tools/ - Kompilieren: Manuell mit g++/clang++
- Verwendung: Debugging von Graph-Index-Keys
sign_pii_engine.py - PII Engine Signatur Tool
- Verzeichnis:
tools/ - Python-Script für PKI-Signaturen
- Verwendung: PII Detection Engine signieren
publish_wiki.py - Wiki Publishing Tool
- Verzeichnis:
tools/ - Automatisiertes Wiki-Publishing
- GitHub Wiki Integration
Datei: config/config.json
Beispiel:
{
"server": {
"host": "0.0.0.0",
"port": 8765
},
"storage": {
"data_path": "./data/themis_server",
"block_cache_size_mb": 2048
},
"vector_index": {
"save_path": "./data/vector_index",
"auto_save": true
},
"features": {
"timeseries": true,
"cdc": true
}
}Dokumentation: deployment.md
Unit Tests:
- Verzeichnis:
tests/ - Framework: Google Test
- Ausführen:
ctestoderthemis_tests.exe
Integration Tests:
- Python-basierte Tests
- Docker Compose Stack
CI/CD:
- GitHub Actions Workflows
.github/workflows/ci.yml.github/workflows/code-quality.yml
- Core Database Dokumentation
- Prometheus Metrics Reference
- Vector Operations Guide
- Time-Series Guide
- Backup/Restore Guide
- Admin Tools README
- API Referenz (OpenAPI/Swagger)
- Client SDK Tutorials
- Adapter Entwicklungs-Guide
- Video-Tutorials
- Architektur-Diagramme (aktualisiert)
- Performance-Tuning Guide
- Migration Guide
- Disaster Recovery Playbook
- GitHub Pages: https://makr-code.github.io/ThemisDB/
- Wiki: https://github.com/makr-code/ThemisDB/wiki
- PDF: themisdb-docs-complete.pdf
- Repository: https://github.com/makr-code/ThemisDB
- Issues: GitHub Issues
- Pull Requests: Contributions willkommen
Siehe Hauptprojekt-Lizenz
| Komponente | Dokumentation | Status |
|---|---|---|
| Core Database | deployment.md | ✅ Produktiv |
| Python SDK | clients/python/README.md | ✅ MVP |
| Admin Tools | tools/README.md | ✅ MVP |
| Covina Adapter | adapters/covina_fastapi_ingestion/README.md | ✅ Produktiv |
| Vector Search | vector_ops.md | ✅ Produktiv |
| Time-Series | time_series.md | ✅ Produktiv |
| Prometheus Metrics | observability/prometheus_metrics.md | ✅ Produktiv |
| AQL Syntax | aql_syntax.md | ✅ Produktiv |
Letzte Aktualisierung: 17. November 2025
Version: 1.0
Status: Production Ready
ThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/