Cryptograss:Moods/performance/todo: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
#performance's own to-do: the performance items moved from Cryptograss:Moods/ops/todo, at Justin's ask (via create-page on MediaWiki MCP Server) |
GoAccess verified live on both sites; the log-roll watch item (#performance, 12 Nov) (via update-page on MediaWiki MCP Server) |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 13: | Line 13: | ||
link: https://github.com/cryptograss/maybelle-config/pull/279 | link: https://github.com/cryptograss/maybelle-config/pull/279 | ||
note: "Moved 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." | note: "Moved 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." | ||
done: true | |||
- task: "Realtime Activity Bar Option A (state-flag registry with heartbeat TTL)" | - task: "Realtime Activity Bar Option A (state-flag registry with heartbeat TTL)" | ||
who: magent | who: magent | ||
| Line 21: | Line 22: | ||
kind: code | kind: code | ||
note: "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)." | note: "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)." | ||
- task: "Merge magenta:magent/visitor-polls (a tab with no device polls every 15 s, not 4 and 5), then redeploy maybelle" | |||
who: justin | |||
kind: merge | |||
link: https://magenta.cryptograss.live/ramp/magenta/magent/visitor-polls/ | |||
note: "HN/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'." | |||
done: true | |||
- task: "Merge magenta:magent/tidings-premade (release and picture lists rebuilt by the change itself, on a thread; no visitor rebuilds), then redeploy maybelle" | |||
who: justin | |||
kind: merge | |||
link: https://magenta.cryptograss.live/ramp/magenta/magent/tidings-premade/ | |||
note: "hug-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." | |||
done: true | |||
- task: "Merge maybelle-config:magent/goaccess (public /stats/ dashboards, no vault step), redeploy maybelle, and run the PickiPedia VPS playbook" | |||
who: justin | |||
kind: merge | |||
link: https://magenta.cryptograss.live/ramp/maybelle-config/magent/goaccess/ | |||
note: "GoAccess 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)." | |||
done: true | |||
- task: "After the GoAccess deploy: open both /stats/ pages, see the counts fill and the live updates connect (the --ws-url path is the first suspect if not)" | |||
who: magent | |||
kind: verify | |||
link: https://magenta.cryptograss.live/stats/ | |||
note: "Checked 12 Nov 22:20Z: both pages serve, the WebSocket connects and pushes on both, panels as meant (no hosts, referrers, user names, keyphrases). A fake /moods/login/ and Special:ConfirmEmail/ path never showed; a control path beside each did." | |||
done: true | |||
- task: "When Caddy first rolls a site's log (100 MB), see that GoAccess keeps counting the new file" | |||
who: magent | |||
kind: verify | |||
link: https://pickipedia.xyz/stats/ | |||
note: "re's watch item (12 Nov): GoAccess's follow through a rename isn't traced. PickiPedia's log will fill first." | |||
- task: "Verify live endpoint timings on maybelle after the perf deploys" | - task: "Verify live endpoint timings on maybelle after the perf deploys" | ||
who: re | who: re | ||
Latest revision as of 22:19, 12 November 2026
- ☐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).
- ☐When Caddy first rolls a site's log (100 MB), see that GoAccess keeps counting the new filere's watch item (12 Nov): GoAccess's follow through a rename isn't traced. PickiPedia's log will fill first.
- ☐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 (6)
- ☑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).
- ☑After the GoAccess deploy: open both /stats/ pages, see the counts fill and the live updates connect (the --ws-url path is the first suspect if not)Checked 12 Nov 22:20Z: both pages serve, the WebSocket connects and pushes on both, panels as meant (no hosts, referrers, user names, keyphrases). A fake /moods/login/ and Special:ConfirmEmail/ path never showed; a control path beside each did.
- ☑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.