Documentation ¶
Overview ¶
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrActivatorOverload = errors.New("activator overload")
Functions ¶
This section is empty.
Types ¶
type Throttler ¶ added in v0.9.0
type Throttler struct {
// contains filtered or unexported fields
}
Throttler load balances requests to revisions based on capacity. When `Run` is called it listens for updates to revision backends and decides when and when and where to forward a request.
func NewThrottler ¶ added in v0.9.0
NewThrottler creates a new Throttler
Click to show internal directories.
Click to hide internal directories.