redis-benchmarks-specification 0.1.265__py3-none-any.whl → 0.1.267__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redis-benchmarks-specification might be problematic. Click here for more details.
- redis_benchmarks_specification/__common__/timeseries.py +35 -27
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py +1 -0
- redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-scan-type-pipeline-10.yml +34 -0
- {redis_benchmarks_specification-0.1.265.dist-info → redis_benchmarks_specification-0.1.267.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.265.dist-info → redis_benchmarks_specification-0.1.267.dist-info}/RECORD +8 -7
- {redis_benchmarks_specification-0.1.265.dist-info → redis_benchmarks_specification-0.1.267.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.265.dist-info → redis_benchmarks_specification-0.1.267.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.265.dist-info → redis_benchmarks_specification-0.1.267.dist-info}/entry_points.txt +0 -0
|
@@ -495,39 +495,47 @@ def push_data_to_redistimeseries(rts, time_series_dict: dict, expire_msecs=0):
|
|
|
495
495
|
)
|
|
496
496
|
for timeseries_name, time_series in time_series_dict.items():
|
|
497
497
|
exporter_create_ts(rts, time_series, timeseries_name)
|
|
498
|
-
for
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
498
|
+
for orig_timestamp, value in time_series["data"].items():
|
|
499
|
+
if orig_timestamp is None:
|
|
500
|
+
logging.warning("The provided timestamp is null. Using auto-ts")
|
|
501
|
+
timestamp = "*"
|
|
502
|
+
else:
|
|
503
|
+
timestamp = orig_timestamp
|
|
504
|
+
|
|
505
|
+
try_to_insert = True
|
|
506
|
+
retry_count = 0
|
|
507
|
+
while try_to_insert and retry_count < 100:
|
|
508
|
+
# (try to) insert the datapoint in given timestamp
|
|
509
|
+
try_to_insert = False
|
|
510
|
+
|
|
511
|
+
try:
|
|
508
512
|
rts.ts().add(
|
|
509
513
|
timeseries_name,
|
|
510
514
|
timestamp,
|
|
511
515
|
value,
|
|
512
|
-
duplicate_policy="
|
|
516
|
+
duplicate_policy="block",
|
|
513
517
|
)
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
518
|
+
datapoint_inserts += 1
|
|
519
|
+
except redis.exceptions.DataError:
|
|
520
|
+
logging.warning(
|
|
521
|
+
"Error while inserting datapoint ({} : {}) in timeseries named {}. ".format(
|
|
522
|
+
timestamp, value, timeseries_name
|
|
523
|
+
)
|
|
519
524
|
)
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
525
|
+
datapoint_errors += 1
|
|
526
|
+
except redis.exceptions.ResponseError as e:
|
|
527
|
+
if "DUPLICATE_POLICY" in e.__str__():
|
|
528
|
+
# duplicate timestamp: try to insert again, but in the next milisecond
|
|
529
|
+
timestamp += 1
|
|
530
|
+
try_to_insert = True
|
|
531
|
+
retry_count += 1
|
|
532
|
+
else:
|
|
533
|
+
logging.warning(
|
|
534
|
+
"Error while inserting datapoint ({} : {}) in timeseries named {}. ".format(
|
|
535
|
+
timestamp, value, timeseries_name
|
|
536
|
+
)
|
|
537
|
+
)
|
|
538
|
+
datapoint_errors += 1
|
|
531
539
|
if expire_msecs > 0:
|
|
532
540
|
rts.pexpire(timeseries_name, expire_msecs)
|
|
533
541
|
progress.update()
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
version: 0.4
|
|
2
|
+
name: memtier_benchmark-1Mkeys-generic-scan-type-pipeline-10
|
|
3
|
+
description: Runs memtier_benchmark, for a keyspace length of 1M keys focusing on SCAN performance with the TYPE option.
|
|
4
|
+
dbconfig:
|
|
5
|
+
configuration-parameters:
|
|
6
|
+
save: '""'
|
|
7
|
+
check:
|
|
8
|
+
keyspacelen: 1000000
|
|
9
|
+
preload_tool:
|
|
10
|
+
run_image: redislabs/memtier_benchmark:edge
|
|
11
|
+
tool: memtier_benchmark
|
|
12
|
+
arguments: '"--pipeline" "100" "--data-size" "100" "--command" "HSET __key__ field __data__" "--command-key-pattern" "P" "-c" "50" "-t" "2" "--hide-histogram" "--key-minimum" "1"'
|
|
13
|
+
resources:
|
|
14
|
+
requests:
|
|
15
|
+
memory: 1g
|
|
16
|
+
tested-commands:
|
|
17
|
+
- scan
|
|
18
|
+
tested-groups:
|
|
19
|
+
- generic
|
|
20
|
+
redis-topologies:
|
|
21
|
+
- oss-standalone
|
|
22
|
+
build-variants:
|
|
23
|
+
- gcc:8.5.0-amd64-debian-buster-default
|
|
24
|
+
- dockerhub
|
|
25
|
+
clientconfig:
|
|
26
|
+
run_image: redislabs/memtier_benchmark:edge
|
|
27
|
+
tool: memtier_benchmark
|
|
28
|
+
arguments: --command "SCAN 0 TYPE HASH" --pipeline 10 --command-key-pattern="R" -c 50 -t 2 --hide-histogram --test-time 180
|
|
29
|
+
resources:
|
|
30
|
+
requests:
|
|
31
|
+
cpus: '2'
|
|
32
|
+
memory: 2g
|
|
33
|
+
|
|
34
|
+
priority: 44
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.267
|
|
4
4
|
Summary: The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute.
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -17,7 +17,7 @@ redis_benchmarks_specification/__common__/github.py,sha256=9TZtnISsSgXTSAN_VQejo
|
|
|
17
17
|
redis_benchmarks_specification/__common__/package.py,sha256=4uVt1BAZ999LV2rZkq--Tk6otAVIf9YR3g3KGeUpiW4,834
|
|
18
18
|
redis_benchmarks_specification/__common__/runner.py,sha256=2IpMl0IEHi2IZvfLc4_h0e-E3ZfnlB8EkCA_SE8VDCY,7033
|
|
19
19
|
redis_benchmarks_specification/__common__/spec.py,sha256=eTF5559epBB0FrJPx-jRDQVeP_ZVOgyC7Vjxr2xk6fo,3262
|
|
20
|
-
redis_benchmarks_specification/__common__/timeseries.py,sha256=
|
|
20
|
+
redis_benchmarks_specification/__common__/timeseries.py,sha256=mwKlHP_sV5sK5mcAoHdxlzBqmW-HKWgUwSWjsEn3Tyk,51032
|
|
21
21
|
redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
22
22
|
redis_benchmarks_specification/__compare__/args.py,sha256=FlKD1wutBoKxeahpXw1gY2H_1FOPH5y-o5QsIPfFsT0,6802
|
|
23
23
|
redis_benchmarks_specification/__compare__/compare.py,sha256=O6ZuB6Ln5xkTX5jRaizpj1PTPhmoETcf-_PY-A_CGr8,57179
|
|
@@ -35,7 +35,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=A
|
|
|
35
35
|
redis_benchmarks_specification/__self_contained_coordinator__/post_processing.py,sha256=sVLKNnWdAqYY9DjVdqRC5tDaIrVSaI3Ca7w8-DQ-LRM,776
|
|
36
36
|
redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=qB1rwqkROfuyFotB7MfUQiYS4Gzafd8dd2ca7lT4l2I,2909
|
|
37
37
|
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=12VOteGiJZ_oc4CKyEWfKKSlWmZIDquGfUD57MffPuM,29396
|
|
38
|
-
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=
|
|
38
|
+
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=EQUdd1pWQay2UfAzVe08YzHBWmJNadthaFL4pD4c03A,78774
|
|
39
39
|
redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
40
|
redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
|
|
41
41
|
redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
@@ -213,6 +213,7 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-expi
|
|
|
213
213
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-expireat-pipeline-10.yml,sha256=P_tRwib8x-6NKlBCcIsIE_b2ZKlSJtXl6qaT967vOqI,1074
|
|
214
214
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-pexpire-pipeline-10.yml,sha256=uXOPp6zFHfyck8BCfhYUhK3J7jH0mRRLzCYEdVKakBM,1030
|
|
215
215
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-scan-pipeline-10.yml,sha256=EyC4q7qr4BcuMEXzsA8kXzN5_Yl1-DOIY7Ocb1pND2E,1004
|
|
216
|
+
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-scan-type-pipeline-10.yml,sha256=RLza-HVJiYRRsnWjJ8BY2VuxOcUmcPpQ6-xSi-0Q-2c,1040
|
|
216
217
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-touch-pipeline-10.yml,sha256=HStd8FtL1zftSWp5qN-sRcl7z9d04bT6fcyieRTEgdQ,995
|
|
217
218
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-generic-ttl-pipeline-10.yml,sha256=XPa3Tm15o0RbOWr401TJCkKUpchzvxbvIGqtr54kHiY,987
|
|
218
219
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-hash-hexists.yml,sha256=fMVTnqpbjd3_mKnPh8SbJpj3iZY_YuWKCipDDeIndqU,1304
|
|
@@ -375,8 +376,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-publi
|
|
|
375
376
|
redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-pipeline-10.yml,sha256=rJuWWXubUeRKQ2GSfHlbPMLeOyM9Eu_MzvN2vgKcAhA,672
|
|
376
377
|
redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
|
|
377
378
|
redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=uhaSP6YUVmPvZU-qMtPPGdvNEUgUBqOfveUbeJ9WsbI,972
|
|
378
|
-
redis_benchmarks_specification-0.1.
|
|
379
|
-
redis_benchmarks_specification-0.1.
|
|
380
|
-
redis_benchmarks_specification-0.1.
|
|
381
|
-
redis_benchmarks_specification-0.1.
|
|
382
|
-
redis_benchmarks_specification-0.1.
|
|
379
|
+
redis_benchmarks_specification-0.1.267.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
380
|
+
redis_benchmarks_specification-0.1.267.dist-info/METADATA,sha256=saVCwAhS7sBAo5563AF7-Agmzi1GIEvfmjU-r1EfD6U,22777
|
|
381
|
+
redis_benchmarks_specification-0.1.267.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
382
|
+
redis_benchmarks_specification-0.1.267.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
383
|
+
redis_benchmarks_specification-0.1.267.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|