Documentation
¶
Overview ¶
Package echo is the calibrated target used by Stampede's accuracy benchmark. Each response is delayed by a value drawn from a known distribution, and the server records exactly how long it held every request, so a load generator's reported percentiles can be compared with ground truth.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a calibrated echo handler.
type Stats ¶
type Stats struct {
Count int `json:"count"`
P50 float64 `json:"p50"`
P90 float64 `json:"p90"`
P95 float64 `json:"p95"`
P99 float64 `json:"p99"`
P999 float64 `json:"p999"`
Max float64 `json:"max"`
Mean float64 `json:"mean"`
}
Stats are exact percentiles of how long the server held requests.
Click to show internal directories.
Click to hide internal directories.