forked from hyperledger/fabric-x-committer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadgen.yaml
More file actions
94 lines (89 loc) · 2.28 KB
/
Copy pathloadgen.yaml
File metadata and controls
94 lines (89 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
server:
endpoint: :8001
tls:
mode: mtls
cert-path: /server-certs/public-key
key-path: /server-certs/private-key
ca-cert-paths:
- /server-certs/ca-certificate
monitoring:
server:
endpoint: :2118
latency:
sampler:
portion: 0.01
buckets:
distribution: uniform
max-latency: 5s
bucket-count: 1000
orderer-client:
sidecar-client:
endpoint: sidecar:4001
tls:
mode: mtls
cert-path: /client-certs/public-key
key-path: /client-certs/private-key
ca-cert-paths:
- /client-certs/ca-certificate
orderer:
connection:
endpoints:
- broadcast,deliver,orderer:7050
consensus-type: BFT
channel-id: mychannel
# We set low values to reduce the CPU load during tests.
broadcast-parallelism: 1
load-profile:
key:
size: 32
block:
size: 500
transaction:
read-write-count:
const: 2
policy:
channel-id: mychannel
namespace-policies:
0:
scheme: ECDSA
seed: 10
_meta:
scheme: ECDSA
seed: 11
orderer-endpoints:
- id=0,msp-id=org,broadcast,deliver,orderer:7050
conflicts:
invalid-signatures: 0.1
seed: 12345
# We set low values to reduce the CPU load during tests.
workers: 1
stream:
rate-limit:
endpoint: :6997
initial-limit: 10_000
# We set low values to reduce the CPU load during tests.
buffers-size: 10
gen-batch: 10
generate:
namespaces: true
load: true
# The stopping condition for generating load according to the collected metrics.
# Zero value indicate no limit.
# The limit on the number of TXs is applied at block granularity. I.e., more TXs might be created than expected
# if a block overshot.
# The load generator stops when both requirements are met, i.e., one of them might overshoot.
# For the orderer adapter, the blocks limit is ignored for broadcasting as we don't track submitted blocks.
# For adapters that use concurrent submitters, we cannot enforce exact limits.
# The sidecar and coordinator adapters are sequential, so they don't have these issues.
limit:
blocks: 0
transactions: 50_000
logging:
enabled: true
development: false
level: INFO
name: loadgen