Documentation
¶
Overview ¶
Package throughput decides optional growth from aggregate application progress. It owns no connection, timer, byte buffer or recovery allowance.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Step ¶
func (c *Controller) Step(now time.Time, o Observation, maximumPaths int) Decision
Step consumes scheduling facts for exact path generations. The caller owns connection creation and sampling grants, keeping this policy deterministic.
type Decision ¶
type Decision struct {
Action Action
Reason string
Path PathIdentity
Work lanescheduling.SamplingEvidence
RetryAfter time.Duration
UsefulRate, OutputRate float64
BaselineUsefulRate, BaselineOutputRate float64
}
type Observation ¶
type PathIdentity ¶
type PathObservation ¶
type PathObservation struct {
Identity PathIdentity
Optional bool
Work lanescheduling.SamplingEvidence
}