Companion

object Companion

Properties

Link copied to clipboard
const val BY_CEILING: String
Link copied to clipboard
const val BY_RATE: String
Link copied to clipboard
const val PER_TARGET: Int

The most operations outstanding per target: a few thousand connections a node accepts at once. The paired suites' closed-loop search stops at the same number (bench-calibration.mjs IN_FLIGHT_PER_TARGET), so a saturation is never found at a concurrency the open loop cannot hold.

Functions

Link copied to clipboard
fun of(rate: Double, timeout: Duration, targets: Int, perTarget: Int = PER_TARGET): InFlightCap

The cap of a run at rate a second, of requests timing out after timeout, over targets targets.