redis-benchmarks-specification 0.1.303__py3-none-any.whl → 0.1.304__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/__runner__/runner.py +41 -22
- {redis_benchmarks_specification-0.1.303.dist-info → redis_benchmarks_specification-0.1.304.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.303.dist-info → redis_benchmarks_specification-0.1.304.dist-info}/RECORD +6 -6
- {redis_benchmarks_specification-0.1.303.dist-info → redis_benchmarks_specification-0.1.304.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.303.dist-info → redis_benchmarks_specification-0.1.304.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.303.dist-info → redis_benchmarks_specification-0.1.304.dist-info}/entry_points.txt +0 -0
|
@@ -1393,17 +1393,27 @@ def process_self_contained_coordinator_stream(
|
|
|
1393
1393
|
ssl_cert_reqs = "required"
|
|
1394
1394
|
if tls_skip_verify:
|
|
1395
1395
|
ssl_cert_reqs = None
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1396
|
+
|
|
1397
|
+
# Build Redis connection parameters
|
|
1398
|
+
redis_params = {
|
|
1399
|
+
"host": host,
|
|
1400
|
+
"port": port,
|
|
1401
|
+
"password": password,
|
|
1402
|
+
"ssl": tls_enabled,
|
|
1403
|
+
"ssl_cert_reqs": ssl_cert_reqs,
|
|
1404
|
+
"ssl_check_hostname": False,
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
# Only add SSL certificate parameters if they are provided
|
|
1408
|
+
if tls_enabled:
|
|
1409
|
+
if tls_key is not None and tls_key != "":
|
|
1410
|
+
redis_params["ssl_keyfile"] = tls_key
|
|
1411
|
+
if tls_cert is not None and tls_cert != "":
|
|
1412
|
+
redis_params["ssl_certfile"] = tls_cert
|
|
1413
|
+
if tls_cacert is not None and tls_cacert != "":
|
|
1414
|
+
redis_params["ssl_ca_certs"] = tls_cacert
|
|
1415
|
+
|
|
1416
|
+
r = redis.StrictRedis(**redis_params)
|
|
1407
1417
|
setup_name = "oss-standalone"
|
|
1408
1418
|
r.ping()
|
|
1409
1419
|
|
|
@@ -1456,17 +1466,26 @@ def process_self_contained_coordinator_stream(
|
|
|
1456
1466
|
slot_network_info = slot[2]
|
|
1457
1467
|
prefered_endpoint = slot_network_info[0]
|
|
1458
1468
|
prefered_port = slot_network_info[1]
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1469
|
+
# Build shard connection parameters
|
|
1470
|
+
shard_params = {
|
|
1471
|
+
"host": prefered_endpoint,
|
|
1472
|
+
"port": prefered_port,
|
|
1473
|
+
"password": password,
|
|
1474
|
+
"ssl": tls_enabled,
|
|
1475
|
+
"ssl_cert_reqs": ssl_cert_reqs,
|
|
1476
|
+
"ssl_check_hostname": False,
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
# Only add SSL certificate parameters if they are provided
|
|
1480
|
+
if tls_enabled:
|
|
1481
|
+
if tls_key is not None and tls_key != "":
|
|
1482
|
+
shard_params["ssl_keyfile"] = tls_key
|
|
1483
|
+
if tls_cert is not None and tls_cert != "":
|
|
1484
|
+
shard_params["ssl_certfile"] = tls_cert
|
|
1485
|
+
if tls_cacert is not None and tls_cacert != "":
|
|
1486
|
+
shard_params["ssl_ca_certs"] = tls_cacert
|
|
1487
|
+
|
|
1488
|
+
shard_conn = redis.StrictRedis(**shard_params)
|
|
1470
1489
|
redis_conns.append(shard_conn)
|
|
1471
1490
|
logging.info(
|
|
1472
1491
|
"There are a total of {} shards".format(len(redis_conns))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.304
|
|
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
|
|
@@ -25,7 +25,7 @@ redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gq
|
|
|
25
25
|
redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
26
26
|
redis_benchmarks_specification/__runner__/args.py,sha256=YeN7-eOGoqCHKh5FrKz9z5Ee-Rh-3DF9tm2Hb-3m7sQ,10648
|
|
27
27
|
redis_benchmarks_specification/__runner__/remote_profiling.py,sha256=JS46mFxnRB2HSU_HO90WE4w7P7usHzX1dwZg1bJpTMc,18588
|
|
28
|
-
redis_benchmarks_specification/__runner__/runner.py,sha256=
|
|
28
|
+
redis_benchmarks_specification/__runner__/runner.py,sha256=FTb0gRVUraTyHIRXF16uqks2208uixbRNrPRu5i2N9I,139034
|
|
29
29
|
redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
30
30
|
redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=uxBjdQ78klvsVi6lOfGYQVaWIxc8OI-DwYKY16SgvCY,5952
|
|
31
31
|
redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=OVHqJzDgeSSRfUSiKp1ZTAVv14PvSbk-5yJsAAoUfpw,936
|
|
@@ -274,8 +274,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-
|
|
|
274
274
|
redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage.yml,sha256=Q5JKvADD1R71hyRx4Qsz5dxHHlYICHqWHD7XTAmX72M,6936
|
|
275
275
|
redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
|
|
276
276
|
redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
|
|
277
|
-
redis_benchmarks_specification-0.1.
|
|
278
|
-
redis_benchmarks_specification-0.1.
|
|
279
|
-
redis_benchmarks_specification-0.1.
|
|
280
|
-
redis_benchmarks_specification-0.1.
|
|
281
|
-
redis_benchmarks_specification-0.1.
|
|
277
|
+
redis_benchmarks_specification-0.1.304.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
278
|
+
redis_benchmarks_specification-0.1.304.dist-info/METADATA,sha256=_lDSq521a9M9-mqVEfZJDbTQyEXpYtXbwjWsshtttng,22726
|
|
279
|
+
redis_benchmarks_specification-0.1.304.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
280
|
+
redis_benchmarks_specification-0.1.304.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
281
|
+
redis_benchmarks_specification-0.1.304.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|