public class IOStressTestBase extends IOLoadTestBase
Modifier and Type | Class and Description |
---|---|
protected static class |
IOStressTestBase.LoadPeriod
Represents a period of time with associated load increase properties for stress testing
scenarios.
|
protected static class |
IOStressTestBase.MultiplierDoFn<T>
Custom Apache Beam DoFn designed for use in stress testing scenarios.
|
IOLoadTestBase.CountingFn<T>, IOLoadTestBase.PipelineMetricsType
LoadTestBase.MetricsConfiguration
Modifier and Type | Field and Description |
---|---|
protected static int[] |
DEFAULT_LOAD_INCREASE_ARRAY
The load will initiate at 1x, progressively increase to 2x and 4x, then decrease to 2x and
eventually return to 1x.
|
protected static int |
DEFAULT_ROWS_PER_SECOND |
BEAM_METRICS_NAMESPACE, tempBucketName
CREDENTIALS, CREDENTIALS_PROVIDER, monitoringClient, pipelineLauncher, pipelineOperator, project, region, testName, watcher
Constructor and Description |
---|
IOStressTestBase() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<IOStressTestBase.LoadPeriod> |
getLoadPeriods(int minutesTotal,
int[] loadIncreaseArray)
Generates and returns a list of LoadPeriod instances representing periods of load increase
based on the specified load increase array and total duration in minutes.
|
exportMetrics, getBeamMetricsName, launcher, setUpBase, tearDownBase
calculateAverage, createConfig, exportMetricsToBigQuery, getCpuUtilizationMetrics, getDataFreshnessMetrics, getMetrics, getMetrics, getMetrics, getMetrics, getSystemLatencyMetrics, getThroughputMetrics, getWorkerTimeInterval, setUp, setUpClass, tearDownLoadTestBase, waitForNumMessages
protected static final int[] DEFAULT_LOAD_INCREASE_ARRAY
protected static final int DEFAULT_ROWS_PER_SECOND
protected java.util.List<IOStressTestBase.LoadPeriod> getLoadPeriods(int minutesTotal, int[] loadIncreaseArray)
minutesTotal
- The total duration in minutes for which the load periods are generated.