From 7c32f8a87889c8fdb8637243fd540061ea1a8539 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 7 Mar 2026 11:45:19 -0500 Subject: 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. --- doc/arch.dot | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'doc/arch.dot') 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} } } -- cgit v1.2.3