From ef3e6830075a8b3ddea579dd523c4f77c97394b2 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sat, 14 Mar 2026 04:17:48 +0000 Subject: [PATCH] =?UTF-8?q?perf:=20prune=20container=20images=20=E2=80=94?= =?UTF-8?q?=2053.69GB=20to=2026.73GB=20(PERF-03)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed 54 unused/dangling images from .228. 50% total image disk reduction (freed 26.96GB). Co-Authored-By: Claude Opus 4.6 (1M context) --- loop/plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loop/plan.md b/loop/plan.md index a07e9d66..3fc4b07f 100644 --- a/loop/plan.md +++ b/loop/plan.md @@ -351,7 +351,7 @@ Every test must pass **10 consecutive times** from BOTH .228→.198 AND .198→. - [x] **PERF-02** — Frontend bundle already meets target. Initial load: index.js 110KB gzipped (target: <500KB). All route views lazy-loaded by Vite (code-split per route). Total JS: 947KB raw, ~312KB gzipped across all chunks. No changes needed. -- [ ] **PERF-03** — Optimize container image sizes. Pull all container images and check sizes. Replace any > 1GB images with smaller alternatives (alpine-based). Remove any cached layers for old versions. **Acceptance**: Total container image disk usage reduced by > 20%. +- [x] **PERF-03** — Pruned unused container images on .228: 53.69GB → 26.73GB (50% reduction, freed 26.96GB). Removed 54 dangling/unused images (old versions, intermediate layers). Active images: 35 (matching 35 running containers). Largest: Jellyfin (986MB), Penpot Backend (854MB), Immich Postgres (764MB). - [x] **PERF-04** — Added ResponseCache to RpcHandler. TTL-based cache (5s) for `system.stats` and `federation.list-nodes`. Cache check before dispatch returns cached result immediately. Successful results stored after dispatch. Thread-safe via `tokio::sync::RwLock`.