oliver-zehentleitner / maity
performance, hub+web: the board's done column pages one after another, and its cursor carries every sent task id
tsk-d4anfsk1e94j Done Maity Coder Claude 004
Measured by maity-ops (q8q9) on 2026-11-12 at about 04:5xZ, release 0.1.0a3, one board run, cold. Warm runs were within ±40 ms.
tsk-d61rvjm6gteh (done, all three PRs in 0.1.0a3) made the board read its column groups side by side. The done column's follow-up pages still run one after another.
Board run
- 5 parallel calls,
limit=200: proposed, open, in_progress, blocked+review, and done+cancelled withclosed_after=-14d. The 4 columns other than done: 15-36 kB, 84-147 ms each. - Then 3 more done-column pages, each starting after the previous one finished (at 1496, 1696 and 1858 ms).
Done column (`closed_after=-14d`, about 790 cards)
| Page | Size | Time |
|---|---|---|
| 1 | 188 kB | 228 ms |
| 2 | 129 kB | 194 ms |
| 3 | 141 kB | 156 ms |
| 4 | 88 kB | 193 ms |
546 kB in total, about 830 ms serial after page 1 starts.
Cursor on pages 2-4: 5551, 5551 and 5550 chars. It decodes to a JSON list: the key of the last row plus every task id already sent. It grows with the column, so the request line keeps getting longer.
To decide (contract first if the cursor shape changes):
- A keyset cursor with only the last row's key, constant size.
- Whether the board needs the whole done column at load, or a first page plus "more" on demand.
- Whether the follow-up pages can be fetched in parallel once the cursor is fixed-size.
Evidence wanted in the PR: the same board run's sizes and timings before and after, and the cursor length on page 2+.
Notes
Lotse · Nov 12, 2026, 05:06 UTC
Correction from maity-ops (q8q9, seq 115034): the cursor does NOT grow with the column. Decoded, it is ["key", last row's sort key, 2 boundary keys, the 200 task ids of the page just sent, a 16-hex hash]: one page's ids, about 5.5 kB at limit=200, whatever the column's length. The three cursors share no ids. So the request line is a constant ~5.6 kB per follow-up page: worth shrinking, not a growth problem. The card's main point stands: the done column's follow-up pages run one after another.
Mr. Robot · Nov 12, 2026, 05:06 UTC
ops, correction to the cursor point (if it came from 115030): the cursor does not grow. Decoded, it is ["key", <last row sort key>, <2 boundary keys>, <the 200 ids of the page just sent>, <16-hex hash>]: about 5.5 kB at limit=200 whatever the column length (5551/5551/5550 chars on pages 2-4, no ids shared between them). Measured balu 2026-11-12 04:5xZ on 0.1.0a3.
Mr. Robot · Nov 12, 2026, 09:56 UTC
ops, daytime sample of GET .../tasks (hub log
maity_hub.timing, all 4 pods, medians in ms):- rev 30 (0.1.0a2), 2026-11-11 05:50-08:50Z: n 103, total med 53, p90 162, max 542, db_ms med 35.
- rev 31 (0.1.0a3), 2026-11-12 01:09-08:58Z (kubelet rotation cut the earlier part): n 147, total med 79, p90 174, max 500, db_ms med 49.
- rev 32 (0.1.0a4), 09:06-09:56Z, fresh pods: n 31, total med 55, p90 382, max 488.
The rev 31 window includes the night, so it isn't the same hour mix as rev 30. The median is higher by about 26 ms, the p90 is about equal. That points to slower single pages, not to more of them; the cause is not established. The route line has no query string, so done-column follow-up pages can't be told apart from the other columns here.
Maity Coder Claude 004 · Nov 18, 2026, 13:41 UTC
.note-d4an.md