Skip to content

Commit 43faa75

Browse files
Added further pubsub usecases
1 parent 498e75e commit 43faa75

4 files changed

+108
-3
lines changed

redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-mixed-100-channels-128B-100-publishers-100-subscribers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ build-variants:
2020
clientconfigs:
2121
- run_image: redislabs/memtier_benchmark:edge
2222
tool: memtier_benchmark
23-
arguments: --test-time 60 --key-prefix "channel-" --pipeline 1 -d 128 --key-maximum 100 --command "PUBLISH __key__ __data__" --command-key-pattern="R" -c 50 -t 4 --hide-histogram
23+
arguments: --test-time 120 --key-prefix "channel-" --pipeline 1 -d 128 --key-maximum 100 --command "PUBLISH __key__ __data__" --command-key-pattern="R" -c 50 -t 4 --hide-histogram
2424
resources:
2525
requests:
2626
cpus: '4'
2727
memory: 1g
2828
- run_image: filipe958/pubsub-sub-bench:latest
2929
tool: pubsub-sub-bench
30-
arguments: -clients 100 -channel-minimum 1 -channel-maximum 100 -subscriber-prefix "channel-" -mode subscribe -test-time 60 -subscribers-per-channel 1
30+
arguments: -clients 100 -channel-minimum 1 -channel-maximum 100 -subscriber-prefix "channel-" -mode subscribe -test-time 120 -subscribers-per-channel 1
3131
resources:
3232
requests:
33-
cpus: '2'
33+
cpus: '4'
3434
memory: 1g
3535
priority: 23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 0.4
2+
name: memtier_benchmark-nokeys-pubsub-mixed-100-channels-128B-100-publishers-1000-subscribers
3+
description: Mixed workload with memtier publishing messages and pubsub-sub-bench subscribing to channels simultaneously.
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
resources:
8+
requests:
9+
memory: 2g
10+
tested-groups:
11+
- pubsub
12+
tested-commands:
13+
- publish
14+
- subscribe
15+
redis-topologies:
16+
- oss-standalone
17+
build-variants:
18+
- gcc:8.5.0-amd64-debian-buster-default
19+
- dockerhub
20+
clientconfigs:
21+
- run_image: redislabs/memtier_benchmark:edge
22+
tool: memtier_benchmark
23+
arguments: --test-time 120 --key-prefix "channel-" --pipeline 1 -d 128 --key-maximum 100 --command "PUBLISH __key__ __data__" --command-key-pattern="R" -c 50 -t 4 --hide-histogram
24+
resources:
25+
requests:
26+
cpus: '4'
27+
memory: 1g
28+
- run_image: filipe958/pubsub-sub-bench:latest
29+
tool: pubsub-sub-bench
30+
arguments: -clients 1000 -channel-minimum 1 -channel-maximum 100 -subscriber-prefix "channel-" -mode subscribe -test-time 120 -subscribers-per-channel 1
31+
resources:
32+
requests:
33+
cpus: '4'
34+
memory: 1g
35+
priority: 23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 0.4
2+
name: memtier_benchmark-nokeys-pubsub-mixed-100-channels-128B-100-publishers-5000-subscribers
3+
description: Mixed workload with memtier publishing messages and pubsub-sub-bench subscribing to channels simultaneously.
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
resources:
8+
requests:
9+
memory: 2g
10+
tested-groups:
11+
- pubsub
12+
tested-commands:
13+
- publish
14+
- subscribe
15+
redis-topologies:
16+
- oss-standalone
17+
build-variants:
18+
- gcc:8.5.0-amd64-debian-buster-default
19+
- dockerhub
20+
clientconfigs:
21+
- run_image: redislabs/memtier_benchmark:edge
22+
tool: memtier_benchmark
23+
arguments: --test-time 120 --key-prefix "channel-" --pipeline 1 -d 128 --key-maximum 100 --command "PUBLISH __key__ __data__" --command-key-pattern="R" -c 50 -t 4 --hide-histogram
24+
resources:
25+
requests:
26+
cpus: '4'
27+
memory: 1g
28+
- run_image: filipe958/pubsub-sub-bench:latest
29+
tool: pubsub-sub-bench
30+
arguments: -clients 5000 -channel-minimum 1 -channel-maximum 100 -subscriber-prefix "channel-" -mode subscribe -test-time 120 -subscribers-per-channel 1
31+
resources:
32+
requests:
33+
cpus: '4'
34+
memory: 1g
35+
priority: 23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 0.4
2+
name: memtier_benchmark-nokeys-pubsub-mixed-100-channels-128B-100-publishers-50K-subscribers-5k-conns
3+
description: Mixed workload with memtier publishing messages and pubsub-sub-bench subscribing to channels simultaneously.
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
resources:
8+
requests:
9+
memory: 2g
10+
tested-groups:
11+
- pubsub
12+
tested-commands:
13+
- publish
14+
- subscribe
15+
redis-topologies:
16+
- oss-standalone
17+
build-variants:
18+
- gcc:8.5.0-amd64-debian-buster-default
19+
- dockerhub
20+
clientconfigs:
21+
- run_image: redislabs/memtier_benchmark:edge
22+
tool: memtier_benchmark
23+
arguments: --test-time 120 --key-prefix "channel-" --pipeline 1 -d 128 --key-maximum 100 --command "PUBLISH __key__ __data__" --command-key-pattern="R" -c 50 -t 4 --hide-histogram
24+
resources:
25+
requests:
26+
cpus: '4'
27+
memory: 1g
28+
- run_image: filipe958/pubsub-sub-bench:latest
29+
tool: pubsub-sub-bench
30+
arguments: -clients 5000 -channel-minimum 1 -channel-maximum 100 -subscriber-prefix "channel-" -mode subscribe -test-time 120 -subscribers-per-channel 10
31+
resources:
32+
requests:
33+
cpus: '4'
34+
memory: 1g
35+
priority: 23

0 commit comments

Comments
 (0)