Skip to content

Correct the dashboard's batching rationale - #17

Merged
Loa212 merged 1 commit into
mainfrom
fix/dashboard-batching-rationale
Jul 31, 2026
Merged

Correct the dashboard's batching rationale#17
Loa212 merged 1 commit into
mainfrom
fix/dashboard-batching-rationale

Conversation

@Loa212

@Loa212 Loa212 commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Comment-only. Found while reconciling #15 and #16, which merge without
conflict but leave one piece of reasoning untrue.

#15 batched the dashboard's independent reads and justified it with each one
opening its own connection to the control plane. #16 made that false: the
reads now share one lazily-connected, multiplexed channel.

The batching is still right — four round trips in series to learn four
independent things is four too many — but sharing a connection is what makes
asking at once cheap rather than contended, so that is what the comment says
now.

Verified on the merged tree before either landed: make check (1004 tests),
the Docker e2e suite 14/14, and a full make demo run deploying all three
example services through the rebuilt CLI.

#15 batched the dashboard's independent reads and justified it with each one
opening its own connection to the control plane. #16 made that false: the
reads now share one lazily-connected, multiplexed channel.

The batching is still right — four round trips in series to learn four
independent things is four too many — but sharing a connection is what makes
asking at once cheap rather than contended, so that is what the comment says.

The two branches merge without conflict; this is the only place where one
made the other's reasoning untrue.
@Loa212
Loa212 merged commit c5c8a91 into main Jul 31, 2026
3 checks passed
@Loa212
Loa212 deleted the fix/dashboard-batching-rationale branch July 31, 2026 11:00
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