service: upload-processing
runtime: python27
api_version: 1
instance_class: F2

# A single upload can consume a lot of memory, so threadsafe:false prevents
# handling multiple uploads simultaneously in order to stay under F2's 256MB
# memory limit.
threadsafe: false

automatic_scaling:
  max_concurrent_requests: 5
  max_instances: 900
  max_pending_latency: automatic
  min_instances: 12
  target_cpu_utilization: 0.8

libraries:
- name: jinja2
  version: "2.6"
- name: pycrypto
  version: "2.6"
- name: webapp2
  version: "2.5.2"
- name: ssl
  version: latest

env_variables:
  GAE_USE_SOCKETS_HTTPLIB: 'true'

builtins:
- appstats: on
- deferred: on

handlers:
- url: /.*
  script: dashboard.dispatcher.APP
  secure: always

service: upload-processing
runtime: python27
api_version: 1
instance_class: F2

# A single upload can consume a lot of memory, so threadsafe:false prevents
# handling multiple uploads simultaneously in order to stay under F2's 256MB
# memory limit.
threadsafe: false

automatic_scaling:
  max_concurrent_requests: 5
  max_instances: 1800
  max_pending_latency: automatic
  min_instances: 24
  target_cpu_utilization: 0.8

libraries:
- name: jinja2
  version: "2.6"
- name: pycrypto
  version: "2.6"
- name: webapp2
  version: "2.5.2"
- name: ssl
  version: latest

env_variables:
  GAE_USE_SOCKETS_HTTPLIB: 'true'

builtins:
- appstats: on
- deferred: on

handlers:
- url: /.*
  script: dashboard.dispatcher.APP
  secure: always

Increase maximum instances to 2x
chromeperf: Increase maximum instances to 2x

Recent increase in load is requiring us to adjust the ceiling. 2x should
be enough to allow us to handle more incoming data in a timely manner.

R=f07c55753dac44d78e0294a1d64ea321baaa78f4@google.com, ade7e59805b81f027d537665b2c12c1956198b97@chromium.org

Bug: chromium:1156554
Change-Id: Idd8f5cee9132eeccd03029d8dcb0d109f17843d3
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/2581618
Auto-Submit: Dean Berris <34a37f59e4ade3cf49221306f04217acf3e86255@chromium.org>
Commit-Queue: Chenlin Fan <ade7e59805b81f027d537665b2c12c1956198b97@chromium.org>
Commit-Queue: Andrew Bennetts <f07c55753dac44d78e0294a1d64ea321baaa78f4@google.com>
Reviewed-by: Chenlin Fan <ade7e59805b81f027d537665b2c12c1956198b97@chromium.org>
Reviewed-by: Andrew Bennetts <f07c55753dac44d78e0294a1d64ea321baaa78f4@google.com>
