Skip to content

Cube tester updates for tiered grid transaction handling - #890

Merged
lbwexler merged 5 commits into
developfrom
grid-transaction-optimization
Aug 20, 2026
Merged

Cube tester updates for tiered grid transaction handling#890
lbwexler merged 5 commits into
developfrom
grid-transaction-optimization

Conversation

@lbwexler

@lbwexler lbwexler commented Aug 18, 2026

Copy link
Copy Markdown
Member

Companion to xh/hoist-react#4588 (tiered ag-Grid transaction handling).

  • Removed the Delta Sort toggle - that PR removes GridExperimentalFlags.deltaSort, with Hoist now managing ag-Grid delta sorting automatically per transaction, so the A/B toggle no longer has anything to switch.
  • Added a Throttle Sort toggle, applying the new GridModel.streamingSortInterval prop (at 5s) live to the running grid.
  • Added sub-second update stream rates (0.1s, 0.5s) to exercise streaming sort throttling under rapid updates. The stream now runs on a plain setInterval, as Timer's 500ms floor blocks sub-second rates - overlapping ticks are skipped, matching prior Timer behavior.

The tester's other toggles (Projection Only, Reuse Records, Patch Records) and diagnostics panel are unchanged and were used to validate the hoist-react PR's results at 40k and 400k rows.

Companion to hoist-react #4588, which removes GridExperimentalFlags.deltaSort - Hoist now manages ag-Grid delta sorting automatically per transaction, so the A/B toggle no longer has anything to switch.
Switch applies a 5s streamingSortInterval live to the existing GridModel - the new hoist-react #4588 prop is read per-transaction and by its flush timer, so no grid rebuild is required.
Drive the update stream with a plain setInterval instead of Timer, whose 500ms floor blocks sub-second rates. Ticks that arrive while a prior update is still applying are skipped, matching Timer's non-overlapping behavior.
@lbwexler lbwexler changed the title Remove cube tester Delta Sort toggle Cube tester updates for tiered grid transaction handling Aug 20, 2026
Replaces the sort throttle control with Defer Factor and Delta Ratio selects driving the new deferredSortFactor and deltaSortRatio experimental flags, applied live to the running GridModel. Adds a sortFlush row to the grid diagnostics section reporting each managed re-sort's mode, pending count, and elapsed time.
@lbwexler
lbwexler marked this pull request as ready for review August 20, 2026 18:14
@lbwexler
lbwexler merged commit 2d1ddb9 into develop Aug 20, 2026
6 of 7 checks passed
@lbwexler
lbwexler deleted the grid-transaction-optimization branch August 20, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant