MCPcopy
hub / github.com/grpc/grpc-go / edfWrr

Struct edfWrr

internal/wrr/edf.go:26–31  ·  view source on GitHub ↗

edfWrr is a struct for EDF weighted round robin implementation.

Source from the content-addressed store, hash-verified

24
25// edfWrr is a struct for EDF weighted round robin implementation.
26type edfWrr struct {
27 lock sync.Mutex
28 items edfPriorityQueue
29 currentOrderOffset uint64
30 currentTime float64
31}
32
33// NewEDF creates Earliest Deadline First (EDF)
34// (https://en.wikipedia.org/wiki/Earliest_deadline_first_scheduling) implementation for weighted round robin.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected