Skip to content

Commit

Permalink
Increase mem to 129 GB, and allow a third instance (#258)
Browse files Browse the repository at this point in the history
* Increase mem to 129 GB, and allow a third instance
  • Loading branch information
gfr10598 authored Jun 3, 2019
1 parent ea71ca0 commit 2b176f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions annotator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ service: annotator

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

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

0 comments on commit 2b176f5

Please sign in to comment.