Skip to content

Commit 2f983fd

Browse files
authored
Adjust appengine params (#795)
* change workers and target
1 parent bfb86f7 commit 2f983fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/etl_worker/app-batch.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ resources:
2121
automatic_scaling:
2222
# This is intended for batch jobs.
2323
min_num_instances: 20
24-
max_num_instances: 100
24+
max_num_instances: 80
2525
# Very long cool down period, to reduce the likelihood of tasks being truncated.
2626
cool_down_period_sec: 1800
2727
# We don't care much about latency, so a high utilization is desireable.
2828
cpu_utilization:
29-
target_utilization: 0.70
29+
target_utilization: 0.50
3030

3131
# Note: add a public port for GCE auto discovery by prometheus.
3232
# TODO(dev): are any values redundant or irrelevant?
@@ -45,7 +45,7 @@ env_variables:
4545
COMMIT_HASH: ${TRAVIS_COMMIT}
4646

4747
BATCH_SERVICE: 'true' # Allow instances to discover they are BATCH instances.
48-
MAX_WORKERS: 15
48+
MAX_WORKERS: 20
4949
BIGQUERY_PROJECT: '${INJECTED_PROJECT}' # Overrides GCLOUD_PROJECT
5050
# BIGQUERY_DATASET: 'base_tables' # Overrided computed dataset.
5151
NDT_OMIT_DELTAS: 'true'

0 commit comments

Comments
 (0)