File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
1817automatic_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'
You can’t perform that action at this time.
0 commit comments