Skip to content

Commit 26ad1cf

Browse files
authored
Merge branch 'integration' into ipv6
2 parents 7f2e675 + 7dc12ee commit 26ad1cf

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

appengine/queue.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ queue:
130130
target: etl-traceroute-parser
131131
# Average rate at which to release tasks to the service. Default is 5/sec
132132
# This is actually the rate at which tokens are added to the bucket.
133-
rate: 1.5/s
133+
rate: 0.5/s
134134
# Number of tokens that can accumulate in the bucket. Default is 5. This should
135135
# have very little impact for our environment.
136136
bucket_size: 10
137137
# Maximum number of concurrent requests.
138-
max_concurrent_requests: 360
138+
max_concurrent_requests: 180
139139

140140
- name: etl-sidestream-queue
141141
target: etl-sidestream-parser

cmd/etl_worker/app-traceroute.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@ resources:
1010
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.
13-
memory_gb: 12
14-
15-
# TODO - Adjust once we understand requirements.
16-
disk_size_gb: 10
13+
# even though the parser has extremely limited RAM requirements, the
14+
# minimum RAM assignable to 2 CPUs is around 1.5GB
15+
memory_gb: 1.5
1716

1817
automatic_scaling:
1918
# We expect fairly steady load, so a modest minimum will rarely cost us anything.
2019
min_num_instances: 2
2120
max_num_instances: 20
22-
cool_down_period_sec: 300
21+
cool_down_period_sec: 3000
2322
# We don't care much about latency, so a high utilization is desireable.
2423
cpu_utilization:
25-
target_utilization: 0.80
24+
target_utilization: 0.6
2625

2726
# Note: add a public port for GCE auto discovery by prometheus.
2827
# TODO(dev): are any values redundant or irrelevant?
@@ -40,7 +39,7 @@ env_variables:
4039
RELEASE_TAG: ${TRAVIS_TAG}
4140
COMMIT_HASH: ${TRAVIS_COMMIT}
4241

43-
MAX_WORKERS: 30
42+
MAX_WORKERS: 5
4443
BIGQUERY_PROJECT: ${INJECTED_PROJECT}
4544
BIGQUERY_DATASET: 'base_tables'
4645
ANNOTATE_IP: 'true'

0 commit comments

Comments
 (0)