Cryptograss:Moods/performance/todo
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
- ☐Poll under load: who-spoke updated in place, not rebuilt; one rebuild of the emergents' settings per change, not one per tabSecond ramp, after #411 + #412: 10 tabs p95 1.9 s, stopped at 25 tabs (p95 4.9 s). Idle poll 870 → 190 ms.
- ☐Wiki reads off the request path: hooked pages kept until their hook (no short TTLs, warm on change); pronouns and time zones pushed on a preferences saveMoved here from #interfaces at Justin's ask (6 Nov). Preferences aren't page saves, so PageSaveComplete never tells of them.
- ☐Realtime Activity Bar Option A (state-flag registry with heartbeat TTL)The activity line is now the biggest cost left on every poll: 115–155 ms idle, ~500 ms under load (6 Nov).
- ☐Moods page script out to a static file with a hash in its name, so a reload after a deploy that didn't touch it is cached (684 KB inline today)Item 2 of the low-hanging fruit (4 Nov). Item 1, magenta#385, merged and deployed: /api/servers/ went from 0.6–1.4 s to 18 ms (Server-Timing, block 26,350,822).
- ☐
- ☐Verify live endpoint timings on maybelle after the perf deploysRe-run the 02:15Z timings for /api/moods/ and cold room loads; re-stamp Cryptograss/Moods/Loading and prefetch (research). memory-lane/loadtest/tabs.py (magenta#412) now does the ramp; its second run (6 Nov 19:31Z): 10 tabs p95 1.9 s, stopped at 25.
Done (5)
- ☑The wiki push, its last step: make the secret (openssl rand -hex 32), put it in the vault as memory_lane_wiki_hook_secret and in LocalSettings.local.php on the wiki host as $wgPickiPediaContentMagentaHookSecret; merge maybelle-config#279, redeploy maybelleMoved from #interfaces (6 Nov), where the push item was ticked done with this step still open: /wiki-hooks/ says no WIKI_HOOK_SECRET, #279 is open (checked block 26,358,037). magenta#404 and pickipedia#175 are merged and live; the minute sweep alone serves until then.
- ☑Merge magenta:magent/visitor-polls (a tab with no device polls every 15 s, not 4 and 5), then redeploy maybelleHN/reddit wave, 11-12 Nov. Each visitor from the link is a polling tab; the 6 Nov ramp queued at ~25 of them. Justin: 'a no-brainer'.
- ☑Merge magenta:magent/tidings-premade (release and picture lists rebuilt by the change itself, on a thread; no visitor rebuilds), then redeploy maybellehug-watch, 11 Nov 23:14Z-02:33Z: /api/tidings/ took 4-30 s every ~5 min (the picture scan at PICTURES_KEPT, the release scan at RELEASES_KEPT), on whoever asked. mood_cache.kept: stale-while-revalidate, as /api/servers/ since #385.
- ☑Merge maybelle-config:magent/goaccess (public /stats/ dashboards, no vault step), redeploy maybelle, and run the PickiPedia VPS playbookGoAccess over Caddy's access logs, public at magenta.cryptograss.live/stats/ and pickipedia.xyz/stats/: no addresses, query strings or full referring URLs; sign-in and email-token paths never logged (skip_log). After re's second look (12 Nov).
- ☑Merge magenta#412 (load test script; a poll stops redoing who-spoke and the emergents' settings), redeploy maybelleFirst run on production (6 Nov) stopped at 5 tabs: poll p50 1.7 s, p95 5 s. Rerun posted 19:31Z, with #411.