public class ScalabilityStandbySuite extends ScalabilityAbstractSuite
nodeCount
nodes on primary, to be synced on the
standby. It is the responsibility of the test to start the standby process
and to query different JMX MBeans for asserting benchmark duration.
In order to obtain meaningful results, please note that the
noWarmup
JVM property needs to be set to true
. This
way "false" sync cycles taking up only a few milliseconds are avoided.
The following system JVM properties can be defined to configure the suite.
nodeCount
- Controls the number of nodes to be created on
the primary. Defaults to 100_000.ScalabilityAbstractSuite.ExecutionContext
benchmarks, CREDENTIALS, CTX_SEARCH_PATHS_PROP, INCREMENTS, LOG, PROFILE, TEST_ID, WARMUP
Constructor and Description |
---|
ScalabilityStandbySuite() |
Modifier and Type | Method and Description |
---|---|
ScalabilitySuite |
addBenchmarks(ScalabilityBenchmark... benchmarks)
Adds the benchmarks to run.
|
void |
beforeIteration(ScalabilityAbstractSuite.ExecutionContext context)
Executes once for each iteration.
|
protected void |
executeBenchmark(ScalabilityBenchmark benchmark,
ScalabilityAbstractSuite.ExecutionContext context)
Runs the benchmark.
|
void |
setUp(Repository repository,
RepositoryFixture fixture,
Credentials credentials)
Prepares this performance benchmark.
|
addBackgroundJob, afterIteration, afterSuite, beforeSuite, createRepository, getBenchmarks, getRepository, initBackgroundJobs, loginWriter, removeBenchmark, run, setPrintStream, shutdownBackgroundJobs, tearDown, toString
public ScalabilitySuite addBenchmarks(ScalabilityBenchmark... benchmarks)
ScalabilitySuite
public void setUp(Repository repository, RepositoryFixture fixture, Credentials credentials) throws java.lang.Exception
ScalabilityAbstractSuite
setUp
in class ScalabilityAbstractSuite
repository
- the repository to usefixture
- credentials of a user with write accessjava.lang.Exception
- if the benchmark can not be preparedpublic void beforeIteration(ScalabilityAbstractSuite.ExecutionContext context) throws java.lang.Exception
ScalabilityAbstractSuite
beforeIteration
in class ScalabilityAbstractSuite
context
- the contextjava.lang.Exception
- the repository exceptionprotected void executeBenchmark(ScalabilityBenchmark benchmark, ScalabilityAbstractSuite.ExecutionContext context) throws java.lang.Exception
ScalabilityAbstractSuite
executeBenchmark
in class ScalabilityAbstractSuite
benchmark
- the benchmark to executejava.lang.Exception
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.