fix(readme): align architecture diagram formatting in the documentation

This commit is contained in:
2026-04-05 12:42:54 +00:00
parent 012632111e
commit 6148b28cba
3 changed files with 14 additions and 9 deletions

View File

@@ -46,13 +46,13 @@ SmartDB uses a **sidecar binary** pattern — TypeScript handles lifecycle, Rust
┌──────────────────────────────────────────────────────────────┐
│ Your Application │
│ (TypeScript / Node.js) │
│ ┌─────────────────┐ ┌───────────────────────────┐
│ │ SmartdbServer │────▶│ RustDbBridge (IPC) │
│ │ or LocalSmartDb │ │ @push.rocks/smartrust │
│ └─────────────────┘ └───────────┬───────────────┘
└─────────────────────────────────── ───┼───────────────────────
│ spawn + JSON IPC
│ ┌─────────────────┐ ┌───────────────────────────┐ │
│ │ SmartdbServer │────▶│ RustDbBridge (IPC) │ │
│ │ or LocalSmartDb │ │ @push.rocks/smartrust │ │
│ └─────────────────┘ └───────────┬───────────────┘ │
└────────────────────────────────────────┼─────────────────────┘
│ spawn + JSON IPC
┌──────────────────────────────────────────────────────────────┐
│ rustdb binary │
│ │
@@ -60,7 +60,7 @@ SmartDB uses a **sidecar binary** pattern — TypeScript handles lifecycle, Rust
│ │ Wire Protocol│→ │Command Router│→ │ Handlers │ │
│ │ (OP_MSG) │ │ (40+ cmds) │ │ Find,Insert.. │ │
│ └──────────────┘ └──────────────┘ └───────┬───────┘ │
│ │ │
│ │
│ ┌─────────┐ ┌────────┐ ┌───────────┐ ┌──────┴──────┐ │
│ │ Query │ │ Update │ │Aggregation│ │ Index │ │
│ │ Matcher │ │ Engine │ │ Engine │ │ Engine │ │