mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
merge fix and more docs
This commit is contained in:
parent
28c83c4204
commit
357f75bf25
@ -3,7 +3,7 @@ package io.nosqlbench.activitytype.cql.core;
|
||||
import com.datastax.driver.core.*;
|
||||
import com.datastax.driver.core.policies.*;
|
||||
import io.netty.util.HashedWheelTimer;
|
||||
import io.nosqlbench.engine.api.exceptions.BasicError;
|
||||
import io.nosqlbench.nb.api.errors.BasicError;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -31,11 +31,15 @@ types. Try to keep that in mind as you think about designing workloads.
|
||||
|
||||
### Review existing examples
|
||||
|
||||
The built-in workloads that are include with nosqlbench are also shared
|
||||
on the github site where we manage the nosqlbench project:
|
||||
The built-in workloads that are include with nosqlbench are also easy to copy out as a starting point. You just need to
|
||||
use two commands:
|
||||
|
||||
- [baselines](https://github.com/datastax/nosqlbench-labs/tree/master/sample-activities/baselines)
|
||||
- [bindings](https://github.com/datastax/nosqlbench-labs/tree/master/sample-activities/bindings)
|
||||
# find a workload you want to copy
|
||||
nb --list-workloads
|
||||
|
||||
|
||||
# copy a workload to your local directory
|
||||
nb --copy-workload cql-iot
|
||||
|
||||
### Follow the conventions
|
||||
|
||||
|
@ -33,13 +33,19 @@ To run a simple built-in workload run:
|
||||
|
||||
./nb cql-iot
|
||||
|
||||
To get a list of built-in workloads run:
|
||||
To get a list of built-in scenarios run:
|
||||
|
||||
# Get a list of all named scenarios and parameters
|
||||
./nb --list-scenarios
|
||||
|
||||
If you want a simple list of yamls which contain named scenarios, run:
|
||||
|
||||
# Get a simple list of yamls containing named scenarios
|
||||
./nb --list-workloads
|
||||
|
||||
:::info
|
||||
Note: this will include workloads that were shipped with nb and workloads in your local directory. To learn more about
|
||||
how to design custom workloads see
|
||||
Note: These commands will include workloads that were shipped with nb and workloads in your local directory. To learn
|
||||
more about how to design custom workloads see
|
||||
[designing workloads](/index.html#/docs/designing_workloads.html)
|
||||
:::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user