This repository was archived by the owner on Feb 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathds2.toml
76 lines (64 loc) · 2.54 KB
/
ds2.toml
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
##### DS2 configuration settings #####
##########################################
# This configuration file is used to manage the behavior of DS2
[system]
# Id of the streaming dataflow system that is being controlled by DS2.
# E.g. "Flink", "Heron", "Timely"
#
#id = "Flink"
[paths]
# Path to the file containing the initial physical dataflow (required).
# See: ../examples/topology/
#
#topology = "examples/topology/flink_topology.csv"
# Directory of the metrics repository containing rate files (required).
# DS2 expects one rate file per operator instance and policy interval (epoch)
# with the following naming convention: 'some_name-epoch_number.file_extension'
# See: ../examples/flink_wordcount_rates/
#
#metrics_repo = "examples/flink_wordcount_rates/"
# Extension of rate files as stored in the metrics repository,
# E.g. "txt", "log", "csv", etc. (required)
#
#file_extension = "log"
# Path to the CSV file containing the external source rates.
# These are the true rates of all data sources as measured
# outside the streaming system (required).
# See: ../examples/source_rates/
#
#source_rates = "examples/source_rates/source_rates.csv"
# Path to the system-specific bash script that is responsible
# for applying the new configuration (required).
# See: ../../flink-scaling-scripts/
#
#reconfiguration_script = "../flink-scaling-scripts/change-wordcount-parallelism.sh"
# Path to the system-specific bash script that is responsible
# for starting the application (required).
# See: ../../flink-scaling-scripts/
#
#start_script = "../flink-scaling-scripts/start-wordcount.sh"
[scaling_manager]
# Time window (in seconds) at which rates are gathered
# and the scaling policy is invoked (required).
#
#policy_interval = 10
# Number of consecutive policy decisions considered before
# issuing a re-configuration (default value: 1).
#
#activation_time = 1
# Number of consecutive policy intervals (epochs) to ignore
# after a re-configuration (required).
#
#warm_up_time = 2
# Target rate ratio threshold (>= 1) defines the maximum allowed ratio
# of a target source rate to the respective observed source rate
# after a re-configuration. When DS2 converges and the aforementioned
# ratio for a source operator is above the specified threshold,
# a final configuration adjustment is triggered in an attempt
# to meet the required throughput (default value: f64::MAX)
#
#target_rate_ratio_threshold = 1.0
# Scaling factor (>= 0) is used to deliberately over-provision each
# dataflow operator by factor * 100% more instances than the optimal (default value: 0).
#
#scaling_factor = 0