From 949af3b2f13537694610dda1db6347a8935780a4 Mon Sep 17 00:00:00 2001 From: Ivan Schasny Date: Fri, 19 May 2023 13:36:52 +0100 Subject: [PATCH] Update dev double hashing configuration * Bump up dhstore CPU cores to 7 * Reduce ago ingest worker count to 5 * Temporarily disable ago writes to let dhstore do compaction --- .../us-east-2/tenant/storetheindex/dhstore/deployment.yaml | 4 ++-- .../us-east-2/tenant/storetheindex/instances/ago/config.json | 2 +- .../tenant/storetheindex/instances/ago/kustomization.yaml | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/deploy/manifests/dev/us-east-2/tenant/storetheindex/dhstore/deployment.yaml b/deploy/manifests/dev/us-east-2/tenant/storetheindex/dhstore/deployment.yaml index 2adb0c7cf..98dfc0dcd 100644 --- a/deploy/manifests/dev/us-east-2/tenant/storetheindex/dhstore/deployment.yaml +++ b/deploy/manifests/dev/us-east-2/tenant/storetheindex/dhstore/deployment.yaml @@ -19,10 +19,10 @@ spec: mountPath: /data resources: limits: - cpu: "6" + cpu: "7" memory: 60Gi requests: - cpu: "6" + cpu: "7" memory: 60Gi ports: - containerPort: 40081 diff --git a/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/config.json b/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/config.json index cbc3e46fb..3a3d2c877 100644 --- a/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/config.json +++ b/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/config.json @@ -84,7 +84,7 @@ "HttpSyncRetryWaitMax": "30s", "HttpSyncRetryWaitMin": "1s", "HttpSyncTimeout": "10s", - "IngestWorkerCount":15, + "IngestWorkerCount":5, "KeepAdvertisements":true, "PubSubTopic": "/indexer/ingest/mainnet", "RateLimit": { diff --git a/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/kustomization.yaml b/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/kustomization.yaml index a05ce22ef..4b8f949ae 100644 --- a/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/kustomization.yaml +++ b/deploy/manifests/dev/us-east-2/tenant/storetheindex/instances/ago/kustomization.yaml @@ -32,3 +32,8 @@ images: - name: storetheindex newName: 407967248065.dkr.ecr.us-east-2.amazonaws.com/storetheindex/storetheindex newTag: 20230512195327-cf757c4b07fb5685ccccd964a16284dd6348295f + + +replicas: + - name: ago-indexer + count: 0