Mix

class Mix(val parts: List<Pair<Scenario, Int>>)

The scenarios a run sends, by weight: one scenario (--scenario=E1), or a mix (--mix=E1:50,E4-state:40,E4-list:10) whose operation i runs the scenario at slot i of a smoothly interleaved cycle (smooth weighted round-robin), so every second sends the same proportions and no scenario comes in bursts. A mix records each scenario's latencies apart, so the writes' latency under the reads (the query bulkheads, the write priority) shows.

Constructors

Link copied to clipboard
constructor(parts: List<Pair<Scenario, Int>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

E1, or E1:50,E4-state:40,E4-list:10.

Link copied to clipboard

Whether more than one scenario runs.

Link copied to clipboard
Link copied to clipboard

Whether any of the scenarios moves an amount between two accounts.

Functions

Link copied to clipboard
fun pick(index: Long): Scenario

The scenario of operation index.