ARDR: P0 Sento dispatcher/router total concurrency accounting #196
Labels
No labels
bug
design
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-auto-research#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
Bounded ARDR research transaction seeded by
lost-rob0t/starintel-server#35, revised after operator direction to go deeper into Sento itself rather than inventing a new StarIntel workload-routing layer.Corrected problem
Keep Sento's current router, dispatcher, and mailbox logic. Add one aggregate concurrency count at the exact backend where Sento realizes actor execution threads.
StarIntel currently pins
mdbergmann/cl-gserverat:6a510c5b58469e72e6363bd3a6059d80b9a5c320Exact source review establishes:
:pinnedand owns onemessage-box/btthread;:pinnedactor also owns exactly onemessage-box/btthread;message-box/dpowns no thread and reuses its selected dispatcher workers;:workerscount, but current Sento has no aggregate ceiling across all of them plus ordinary pinned actors.Therefore the missing invariant is not a new router model. It is:
sum(all live Sento execution-lane ownership) <= Sento grant from the StarIntel process thread plannerPreserve existing semantics
Do not change in this P0:
:workerssettings;:randomrouting;:round-robinrouting;message-box/dpsemantics;message-box/bt/:pinnedsemantics;Accounting
:pinnedactor: 1 laneDispatcher workers are internally pinned, so they must be charged exactly once through the dispatcher's reservation rather than once for the dispatcher and again as generic pinned actors.
Dependencies
Canonical Org
roam/research/ardr-issues/ARDR-ISSUE-188-workload-dispatchers-router-pools.orgroam/design/star-server/STAR-SERVER-042-workload-dispatchers-router-pools.orgStable Org IDs were preserved; the content now supersedes the earlier workload-topology-first interpretation.
Approval boundary
Research is
READY_FOR_DESIGNand the revised design may be produced/reviewed automatically. Implementation authorization remains PENDING / operator-only. This issue, its state, publication, or machine review cannot authorize implementation.