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 (2)
- ☑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#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.