docs: fix ASCII architecture diagram alignment
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 8s
Mirror to GitHub / mirror (push) Failing after 5s
Tests / test (push) Successful in 23s

This commit is contained in:
Franz Kafka 2026-03-23 14:17:41 +00:00
parent 71b96598ed
commit aaac1f8f4b

View file

@ -196,25 +196,25 @@ Brave Search API and YouTube Data API require keys. If omitted, those engines ar
## Architecture ## Architecture
``` ```
┌─────────────────────────────────────┐ ┌───────────────────────────────────────
│ HTTP Handler │ │ HTTP Handler │
│ /search / /opensearch.xml │ │ /search / /opensearch.xml │
├─────────────────────────────────────┤ ├───────────────────────────────────────
│ Middleware Chain │ │ Middleware Chain │
│ Global → Burst → Per-IP → CORS │ │ Global → Burst → Per-IP → CORS │
├─────────────────────────────────────┤ ├───────────────────────────────────────
│ Search Service │ │ Search Service │
│ Parallel engine execution │ │ Parallel engine execution │
│ WaitGroup + graceful degradation │ │ WaitGroup + graceful degradation │
├─────────────────────────────────────┤ ├───────────────────────────────────────
│ Cache Layer │ │ Cache Layer │
│ Valkey/Redis (optional; no-op if │ │ Valkey/Redis (optional; no-op if │
│ unconfigured) │ │ unconfigured) │
├─────────────────────────────────────┤ ├───────────────────────────────────────
│ Engines (×11 default) │ │ Engines (×11 default) │
│ Each runs in its own goroutine │ │ Each runs in its own goroutine │
│ Failures → unresponsive_engines │ │ Failures → unresponsive_engines │
└─────────────────────────────────────┘ └───────────────────────────────────────
``` ```
## Docker ## Docker