docs: fix ASCII architecture diagram alignment
This commit is contained in:
parent
71b96598ed
commit
aaac1f8f4b
1 changed files with 19 additions and 19 deletions
38
README.md
38
README.md
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue