diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-03-07 11:45:19 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-03-07 11:45:19 -0500 |
| commit | 7c32f8a87889c8fdb8637243fd540061ea1a8539 (patch) | |
| tree | fe5b5b42f3cfe74e755cf57419b7f3d3b6dd89bb /doc/arch.dot | |
| parent | 36381d86c6a690a7870ce360dad63be333361447 (diff) | |
| download | buth-7c32f8a87889c8fdb8637243fd540061ea1a8539.zip | |
doc: simplify architecture, some notes
Got rid of client-side 9p, which was just silly bloat. Using HTTP
exclusively on the client side now, with htmx.
Combined auth and api servers into monolithic buthd, which translates
http/9p between client and backend 9p servers.
Added some implementation and security notes, and part of shopfs.
Diffstat (limited to 'doc/arch.dot')
| -rw-r--r-- | doc/arch.dot | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/doc/arch.dot b/doc/arch.dot index fa6f5aa..9bf558d 100644 --- a/doc/arch.dot +++ b/doc/arch.dot @@ -1,18 +1,15 @@ graph { - graph [rankdir=BT; nodesep=1.0; ranksep=1.0] + graph [rankdir=BT; nodesep=0.75; ranksep=0.5] node [shape=box] - client -- relay [label="HTTPS"] - client -- relay [label="9P/WS"] - relay -- shop [label="HTTP\nstatic html"] - relay --api [label="HTTP\nhtmx frags"] - relay -- api [label="9P/WS\napi"] - relay --auth [label="HTTP\nforms"] - api -- authfs [label="9P/TCP"] - auth --authfs [label="9P/TCP"] + client -- relayd [label="HTTPS"] + relayd -- httpd [label="HTTP\nstatic html"] + relayd --buthd [label="HTTP\nhtmx frags\napi"] + buthd -- authfs [label="9P"] + buthd -- shopfs [label="9P"] subgraph cluster_lan { - relay, shop, api, auth - authfs [shape=cylinder] + relayd, httpd, buthd, authfs, shopfs + {node [shape=cylinder]; authfs, shopfs} } } |