From 2b176f5d40b9e544ce802bda981278ce9deec605 Mon Sep 17 00:00:00 2001 From: Gregory Russell Date: Mon, 3 Jun 2019 13:36:15 -0400 Subject: [PATCH] Increase mem to 129 GB, and allow a third instance (#258) * Increase mem to 129 GB, and allow a third instance --- annotator.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/annotator.yaml b/annotator.yaml index 583384f8..1ea2b610 100644 --- a/annotator.yaml +++ b/annotator.yaml @@ -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. @@ -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