Skip to content

Commit

Permalink
adds scenario for adding/removing nodes during an experiment (#292)
Browse files Browse the repository at this point in the history
* adds scenario for adding/removing nodes during an experiment

* removes RPC from definitions

---------

Co-authored-by: RT <[email protected]>
  • Loading branch information
kjezek and rpl-ffl authored Nov 21, 2024
1 parent 02025a6 commit 63cf7f8
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions scenarios/test/nodes_start_stop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# This scenario simulates a network with the various number of nodes.
# It starts and stopes nodes at different times.
# The nodes include validators and non-validator nodes.
# It deploys one application and sends a decent number of transactions.

# The name of the scenario
name: Various Number of Nodes

# The duration of the scenario's runtime, in seconds.
duration: 240

# The number of validator nodes in the network.
num_validators: 1

# The network scenario to exercise.
nodes:
# Change the number of nodes during the scenario.
- name: validator-A
start: 20
end: 120
instances: 2
features: [ validator ]

- name: validator-B
start: 40
end: 80
instances: 1
features: [ validator ]

- name: observer-A
start: 80
end: 180
instances: 2

- name: observer-B
start: 100
end: 160
instances: 1

- name: observer-C
start: 190
end: 230
instances: 2

- name: validator-C
start: 140
end: 200
instances: 2
features: [ validator ]


# In the network, there is a single application producing a constant load.
applications:
- name: load
type: counter
users: 20 # number of users using the app
rate:
constant: 10 # Tx/s

0 comments on commit 63cf7f8

Please sign in to comment.