perf(albok-service): 0.1.5 on nh3-docker (search 4.5 s -> ~0.25 s)

This commit is contained in:
vh
2026-10-03 20:40:11 -07:00
parent d4c5ae8d00
commit 0ed188be5e
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -6,10 +6,11 @@ The FastAPI process that owns Albok's buildings-and-wings store (`vh/albok`,
- **URL:** `http://albok.nh3.internal:8392` (= `http://10.100.50.40:8392`). Container port 8390.
⚠ Host port **8392**, because **8390 on nh3-docker is the althing post office**.
- **Image:** `gitea.phasefinal.com/pfi/albok-service:0.1.4` @ `sha256:c467c92d…` (pinned in `compose.yaml`), built
2026-10-03 ~1612 from vh/albok `3d6bdba` (tag albok-service/v0.1.4; pushed by infra-ops on Prime's go). 0.1.4 takes `__version__`
from the installed metadata, so `X-Albok-Service` now matches the release (0.1.3 had said 0.1.2).
Prior: 0.1.3 (`fc4c97a`, `sha256:92bbf31d…`, ingester stamp out of equivalence) 1558–~1613; 0.1.2 (`544ecfd`) 0251–1558.
- **Image:** `gitea.phasefinal.com/pfi/albok-service:0.1.5` @ `sha256:dde3303d…` (pinned in `compose.yaml`), built
2026-10-03 ~2038 from vh/albok `e70321c` (tags albok-service/v0.1.5 + core v0.1.3; pushed by infra-ops on Prime's go).
0.1.5 = search speed: an index on the facet table's object_id and one cached keyword index per wing (fleet/memory query 4.5 s → ~0.25 s warm;
the first search per wing after a start or an ingest rebuilds the keyword index, ~1.7 s). The facet index is built at the first open (~0.35 s, +17 MB).
Prior: 0.1.4 (`3d6bdba`, version header from metadata) ~1611–2039; 0.1.3 (`fc4c97a`) 1558–1611; 0.1.2 (`544ecfd`) 0251–1558.
Built from albok-dev's local commit before the operator pushed it. Verified 2026-10-03 1000 with `git ls-remote`:
origin's `albok-service/v0.1.2` and `v0.1.2` are `544ecfd`, so the image matches the published tag. Image labels
carry the full SHA.