Documentation
¶
Index ¶
Constants ¶
View Source
const PriorityThenTimeOrderingType = "priority-then-time-eviction-order-policy"
PriorityThenTimeOrderingType evicts the lowest priority request first, breaking ties by newest dispatch time (least KV-cache investment).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PriorityThenTimeOrdering ¶
type PriorityThenTimeOrdering struct {
// contains filtered or unexported fields
}
PriorityThenTimeOrdering evicts the lowest priority request first. When priorities are equal, the newest dispatched request is evicted first to minimize wasted KV-cache investment.
func (*PriorityThenTimeOrdering) Less ¶
func (p *PriorityThenTimeOrdering) Less(a, b *flowcontrol.EvictionItem) bool
func (*PriorityThenTimeOrdering) TypedName ¶
func (p *PriorityThenTimeOrdering) TypedName() plugin.TypedName
Click to show internal directories.
Click to hide internal directories.