Skip to content

Commit 179bc94

Browse files
authored
Merge pull request #47 from m-lab/resources
cpu tweaks for more stability
2 parents 4f380ba + 8935712 commit 179bc94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

annotator.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ service: annotator
77

88
# TODO(dev): adjust CPU and memory based on actual requirements.
99
resources:
10-
cpu: 1
10+
cpu: 2
1111
# Instances support between [(cpu * 0.9) - 0.4, (cpu * 6.5) - 0.4]
1212
# Actual memory available is exposed via GAE_MEMORY_MB environment variable.
1313
memory_gb: 6
@@ -19,9 +19,9 @@ automatic_scaling:
1919
# We expect negligible load, so this is unlikely to trigger.
2020
min_num_instances: 2
2121
max_num_instances: 10
22-
cool_down_period_sec: 300
22+
cool_down_period_sec: 1800
2323
cpu_utilization:
24-
target_utilization: 0.80
24+
target_utilization: 0.60
2525

2626
# Note: add a public port for GCE auto discovery by prometheus.
2727
# TODO(dev): are any values redundant or irrelevant?

0 commit comments

Comments
 (0)