Skip to main content

Module benchmark

Module benchmark 

Source
Expand description

Standalone diagnostics using the same clients as RisingWave. Fixed-work object-store benchmarks and a timed fast-reader interference experiment. No Meta connection, Kubernetes resources, or production SST discovery is involved.

Modulesยง

basic ๐Ÿ”’
read ๐Ÿ”’
trace ๐Ÿ”’

Structsยง

Accumulator ๐Ÿ”’
BenchmarkConfig
Sizes are bytes and times are milliseconds, including in the JSON report.
BenchmarkReport
Distribution
Client-observed latencies, with microsecond resolution and three significant digits.
Inflight ๐Ÿ”’
InflightGuard ๐Ÿ”’
InterferenceCohort
Per-cohort context for a timed interference comparison, not a performance verdict.
MeasurementBudget
Outcome ๐Ÿ”’
PhaseReport
ReadTrace
Nonblocking, bounded diagnostics. It never consumes or polls the response stream.
Sample ๐Ÿ”’
Timings ๐Ÿ”’
TraceSummary
TraceWriter
Keep this guard until all benchmark readers finish, then call finish to check write errors and dropped records. Drop also drains the writer on early errors.

Enumsยง

Profile
ReadMode

Functionsยง

execute_jobs ๐Ÿ”’
Stop scheduling at the deadline; finish in-flight operations before returning.
jobs ๐Ÿ”’
observed_retries
Counts only retries exposed by RWโ€™s outer monitoring layer, not SDK retries.
operation_unit ๐Ÿ”’
run
Only objects whose keys are constructed here are ever deleted.
terminal_summary
Human-readable diagnostics on stderr; stdout remains a single JSON document.
unix_ms ๐Ÿ”’