mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Bring rampup cycles in line with key numbers for other keyvalue tests
This commit is contained in:
parent
4cadb4e82f
commit
fad0eb0d41
@ -7,9 +7,9 @@ description: |
|
|||||||
|
|
||||||
scenarios:
|
scenarios:
|
||||||
default:
|
default:
|
||||||
- run driver=cql tags==phase:schema threads==1 cycles==UNDEF
|
schema: run driver=cql tags==phase:schema threads==1 cycles==UNDEF
|
||||||
- run driver=http tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
rampup: run driver=http tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
||||||
- run driver=http tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
main: run driver=http tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||||
bindings:
|
bindings:
|
||||||
# To enable an optional weighted set of hosts in place of a load balancer
|
# To enable an optional weighted set of hosts in place of a load balancer
|
||||||
# Examples
|
# Examples
|
||||||
@ -20,9 +20,9 @@ bindings:
|
|||||||
# http request id
|
# http request id
|
||||||
request_id: ToHashedUUID(); ToString();
|
request_id: ToHashedUUID(); ToString();
|
||||||
|
|
||||||
seq_key: Mod(<<keycount:1000000000>>); ToString() -> String
|
seq_key: Mod(<<keycount:10000000>>); ToString() -> String
|
||||||
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
|
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
|
||||||
rw_key: <<keydist:Uniform(0,1000000000)->int>>; ToString() -> String
|
rw_key: <<keydist:Uniform(0,10000000)->int>>; ToString() -> String
|
||||||
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
|
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
|
||||||
|
|
||||||
blocks:
|
blocks:
|
||||||
@ -42,6 +42,14 @@ blocks:
|
|||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-keyspace
|
name: create-keyspace
|
||||||
|
- drop-table: DELETE <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/schemas/keyspaces/<<keyspace:baselines>>/tables/<<table:keyvalue>>
|
||||||
|
Accept: "application/json"
|
||||||
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
|
Content-Type: "application/json"
|
||||||
|
tags:
|
||||||
|
name: drop-table
|
||||||
|
ok-status: "[2-4][0-9][0-9]"
|
||||||
- create-table: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/schemas/keyspaces/<<keyspace:baselines>>/tables
|
- create-table: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/schemas/keyspaces/<<keyspace:baselines>>/tables
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
@ -120,7 +128,7 @@ blocks:
|
|||||||
phase: main
|
phase: main
|
||||||
type: read
|
type: read
|
||||||
params:
|
params:
|
||||||
ratio: 5
|
ratio: <<read_ratio:5>>
|
||||||
statements:
|
statements:
|
||||||
- main-select: GET <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/keyspaces/<<keyspace:baselines>>/<<table:keyvalue>>/{rw_key}
|
- main-select: GET <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/keyspaces/<<keyspace:baselines>>/<<table:keyvalue>>/{rw_key}
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
@ -129,12 +137,13 @@ blocks:
|
|||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
tags:
|
tags:
|
||||||
name: main-select
|
name: main-select
|
||||||
|
ok-status: "[2-4][0-9][0-9]"
|
||||||
- name: main-write
|
- name: main-write
|
||||||
tags:
|
tags:
|
||||||
phase: main
|
phase: main
|
||||||
type: write
|
type: write
|
||||||
params:
|
params:
|
||||||
ratio: 5
|
ratio: <<write_ratio:5>>
|
||||||
statements:
|
statements:
|
||||||
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/keyspaces/<<keyspace:baselines>>/<<table:keyvalue>>
|
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8082>><<path_prefix:>>/v2/keyspaces/<<keyspace:baselines>>/<<table:keyvalue>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
|
@ -8,9 +8,9 @@ description: |
|
|||||||
|
|
||||||
scenarios:
|
scenarios:
|
||||||
default:
|
default:
|
||||||
- run driver=cql tags==phase:schema threads==1 cycles==UNDEF
|
schema: run driver=cql tags==phase:schema threads==1 cycles==UNDEF
|
||||||
- run driver=http tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
rampup: run driver=http tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
||||||
- run driver=http tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
main: run driver=http tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||||
bindings:
|
bindings:
|
||||||
# To enable an optional weighted set of hosts in place of a load balancer
|
# To enable an optional weighted set of hosts in place of a load balancer
|
||||||
# Examples
|
# Examples
|
||||||
@ -21,9 +21,9 @@ bindings:
|
|||||||
# http request id
|
# http request id
|
||||||
request_id: ToHashedUUID(); ToString();
|
request_id: ToHashedUUID(); ToString();
|
||||||
|
|
||||||
seq_key: Mod(<<keycount:1000000000>>); ToString() -> String
|
seq_key: Mod(<<keycount:10000000>>); ToString() -> String
|
||||||
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
|
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
|
||||||
rw_key: <<keydist:Uniform(0,1000000000)->int>>; ToString() -> String
|
rw_key: <<keydist:Uniform(0,10000000)->int>>; ToString() -> String
|
||||||
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
|
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
|
||||||
|
|
||||||
blocks:
|
blocks:
|
||||||
@ -79,7 +79,7 @@ blocks:
|
|||||||
phase: main
|
phase: main
|
||||||
type: read
|
type: read
|
||||||
params:
|
params:
|
||||||
ratio: 5
|
ratio: <<read_ratio:5>>
|
||||||
statements:
|
statements:
|
||||||
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlcf_keyvalue>>
|
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlcf_keyvalue>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
@ -95,7 +95,7 @@ blocks:
|
|||||||
phase: main
|
phase: main
|
||||||
type: write
|
type: write
|
||||||
params:
|
params:
|
||||||
ratio: 5
|
ratio: <<write_ratio:5>>
|
||||||
statements:
|
statements:
|
||||||
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlcf_keyvalue>>
|
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlcf_keyvalue>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
|
@ -13,9 +13,9 @@ description: |
|
|||||||
|
|
||||||
scenarios:
|
scenarios:
|
||||||
default:
|
default:
|
||||||
- run driver=http tags==phase:schema threads==1 cycles==UNDEF
|
schema: run driver=http tags==phase:schema threads==1 cycles==UNDEF
|
||||||
- run driver=http tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
rampup: run driver=http tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
||||||
- run driver=http tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
main: run driver=http tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||||
bindings:
|
bindings:
|
||||||
# To enable an optional weighted set of hosts in place of a load balancer
|
# To enable an optional weighted set of hosts in place of a load balancer
|
||||||
# Examples
|
# Examples
|
||||||
@ -26,9 +26,9 @@ bindings:
|
|||||||
# http request id
|
# http request id
|
||||||
request_id: ToHashedUUID(); ToString();
|
request_id: ToHashedUUID(); ToString();
|
||||||
|
|
||||||
seq_key: Mod(<<keycount:1000000000>>); ToString() -> String
|
seq_key: Mod(<<keycount:10000000>>); ToString() -> String
|
||||||
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
|
seq_value: Hash(); Mod(<<valuecount:1000000000>>); ToString() -> String
|
||||||
rw_key: <<keydist:Uniform(0,1000000000)->int>>; ToString() -> String
|
rw_key: <<keydist:Uniform(0,10000000)->int>>; ToString() -> String
|
||||||
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
|
rw_value: Hash(); <<valdist:Uniform(0,1000000000)->int>>; ToString() -> String
|
||||||
|
|
||||||
blocks:
|
blocks:
|
||||||
|
Loading…
Reference in New Issue
Block a user