docs: replace ASCII architecture diagram with actual image
swadhinbiswas committed 3 months ago
0e54c10
1 parent 118dc27
commit 0e54c10
1 file changed
+1 -25
Showing 1 changed file+1-25
▼docs_site/src/content/docs/getting-started/overview.md
+1-25
| @@ -27,31 +27,7 @@ It is engineered as a **drop-in replacement for FastAPI** — preserving your fa | ||
27 | 27 | |
28 | 28 | ## Architecture Overview |
29 | 29 | |
30 | -``` | |
31 | -[ Client Connection ] | |
32 | - │ | |
33 | - ▼ | |
34 | -┌───────────────────────────────────────────────┐ | |
35 | -│ RUST RUNTIME (justapi-core) │ | |
36 | -│ • Socket I/O (tokio) & TLS (rustls) │ 🟢 GIL RELEASED | |
37 | -│ • HTTP/1.1 & HTTP/2 Parsing (hyper) │ | |
38 | -│ • Radix Trie Routing (matchit) │ | |
39 | -│ • Middleware Chain (auth, CORS, rate-limit) │ | |
40 | -│ • JSON Schema Validation (jsonschema-rs) │ | |
41 | -│ • Database Queries (sqlx) │ | |
42 | -│ • Response Serialization (serde_json) │ | |
43 | -└──────────────────────┬────────────────────────┘ | |
44 | - │ | |
45 | - Invoked only for Python application logic: | |
46 | - ▼ | |
47 | -┌───────────────────────────────────────────────┐ | |
48 | -│ PYTHON LAYER (justapi-py) │ | |
49 | -│ • Business logic / route handlers │ 🟡 PyO3 GIL Thread | |
50 | -│ • Decorator-based API (JustAPIApp) │ | |
51 | -│ • Dependency injection (Depends) │ | |
52 | -│ • Pydantic / Schema validation bridge │ | |
53 | -└───────────────────────────────────────────────┘ | |
54 | -``` | |
30 | + | |
55 | 31 | |
56 | 32 | ## Performance Comparison |
57 | 33 | |
58 | 34 | |