Skip to content

Commit

Permalink
feat: Use the cpu-usage measurement for stress. (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev authored Nov 11, 2024
1 parent d011ddf commit cc337a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions jvb/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,11 @@ videobridge {
recovery-threshold = 0.72
}

# Which of the available measurements to use, either "packet-rate" or "cpu-usage".
load-measurement = "packet-rate"
# Which of the available measurements to use, either "packet-rate" or "cpu-usage". This determines how the stress
# metric is calculated, which is just the measured load divided by the configured load-threshold.
# The packet-rate metric load-threshold needs to be configured based on the machine that the bridge is running on,
# while the cpu-usage metric should behave well with the default configuration on any machine.
load-measurement = "cpu-usage"
}
load-reducers {
last-n {
Expand Down

0 comments on commit cc337a2

Please sign in to comment.