Skip to content

Commit 2b176f5

Browse files
authored
Increase mem to 129 GB, and allow a third instance (#258)
* Increase mem to 129 GB, and allow a third instance
1 parent ea71ca0 commit 2b176f5

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
@@ -9,11 +9,11 @@ service: annotator
99

1010
# TODO(dev): adjust CPU and memory based on actual requirements.
1111
resources:
12-
cpu: 14
12+
cpu: 20
1313
# Instances support between [(cpu * 0.9) - 0.4, (cpu * 6.5) - 0.4]
1414
# Actual memory available is exposed via GAE_MEMORY_MB environment variable.
1515
# Service now loads ALL datasets, so it needs quite a lot of memory.
16-
memory_gb: 90
16+
memory_gb: 129
1717

1818
# Annotation service uses disk for loading legacy Geolite datasets. It now loads many
1919
# concurrently, so needs a lot of disk space.
@@ -22,7 +22,7 @@ resources:
2222
automatic_scaling:
2323
# We expect negligible load, so this is unlikely to trigger.
2424
min_num_instances: 2
25-
max_num_instances: 2
25+
max_num_instances: 3
2626
cool_down_period_sec: 1800
2727
cpu_utilization:
2828
target_utilization: 0.60

0 commit comments

Comments
 (0)