Skip to content

Instantly share code, notes, and snippets.

@thanethomson
Created August 6, 2019 21:05
Show Gist options
  • Save thanethomson/d38652a670cc276dd2b570d72b865ebe to your computer and use it in GitHub Desktop.
Save thanethomson/d38652a670cc276dd2b570d72b865ebe to your computer and use it in GitHub Desktop.
Tendermint Load Testing: 16-validator network
# A geographically dispersed 16-validator test network.
id: testnet_16validators
templates:
base_validator: &base_validator
binary: v0.32.1
config_template: ./validator-config.toml
validators: yes
in_genesis: yes
base_load_test: &base_load_test
method: "tm-bench"
client_nodes: 1
targets:
# We're only targeting a single node in us-east-1 (same region as the
# tm-bench instance)
- validators01[0]
time: 300
broadcast_tx_method: async
connections: 1
size: 100
monitoring:
signalfx:
enabled: no
influxdb:
enabled: yes
deploy: yes
password: ${INFLUXDB_PASSWORD}
node_groups:
- validators01:
<<: *base_validator
persistent_peers:
- validators01
- validators02
regions:
- us_east_1: 2
- eu_central_1: 2
- validators02:
<<: *base_validator
persistent_peers:
- validators02
- validators03
regions:
- eu_central_1: 2
- ap_northeast_2: 2
- validators03:
<<: *base_validator
persistent_peers:
- validators03
- validators04
regions:
- ap_southeast_2: 2
- us_east_2: 2
- validators04:
<<: *base_validator
persistent_peers:
- validators04
- validators01
regions:
- us_west_1: 2
- eu_west_1: 2
load_tests:
- 100_txs_per_sec:
<<: *base_load_test
rate: 100
- 200_txs_per_sec:
<<: *base_load_test
rate: 200
- 400_txs_per_sec:
<<: *base_load_test
rate: 400
- 800_txs_per_sec:
<<: *base_load_test
rate: 800
- 1600_txs_per_sec:
<<: *base_load_test
rate: 1600
- 2000_txs_per_sec:
<<: *base_load_test
rate: 2000
- 2500_txs_per_sec:
<<: *base_load_test
rate: 2500
- 2500_txs_per_sec_long:
<<: *base_load_test
rate: 2500
time: 3600
- 3200_txs_per_sec:
<<: *base_load_test
rate: 3200
- 3200_txs_per_sec_long:
<<: *base_load_test
rate: 3200
time: 3600
- 6400_txs_per_sec:
<<: *base_load_test
rate: 6400
- 12800_txs_per_sec:
<<: *base_load_test
rate: 12800
- 25600_txs_per_sec:
<<: *base_load_test
rate: 25600
@thanethomson
Copy link
Author

100 tx/sec

Stats          Avg       StdDev     Max     Total
Txs/sec        99        90         200     29700
Blocks/sec     0.587     0.492      1       176

Screen Shot 2019-08-06 at 5 28 30 PM

@thanethomson
Copy link
Author

200 tx/sec

Stats          Avg       StdDev     Max     Total
Txs/sec        199       180        400     59800
Blocks/sec     0.593     0.491      1       178

Screen Shot 2019-08-06 at 5 56 24 PM

@thanethomson
Copy link
Author

400 tx/sec

Stats          Avg       StdDev     Max     Total
Txs/sec        397       372        903     119200
Blocks/sec     0.557     0.497      1       167

Screen Shot 2019-08-06 at 6 15 51 PM

@thanethomson
Copy link
Author

800 tx/sec

Stats          Avg       StdDev     Max      Total
Txs/sec        433       1158       5000     129761
Blocks/sec     0.180     0.384      1        54

Screen Shot 2019-08-06 at 6 35 02 PM

@thanethomson
Copy link
Author

1,600 tx/sec

Stats          Avg       StdDev     Max      Total
Txs/sec        414       1208       5000     124139
Blocks/sec     0.143     0.350      1        43

Screen Shot 2019-08-06 at 7 03 29 PM

@thanethomson
Copy link
Author

3,200 tx/sec

Stats          Avg       StdDev     Max      Total
Txs/sec        473       1316       5000     141968
Blocks/sec     0.143     0.350      1        43

Screen Shot 2019-08-14 at 8 33 32 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment