diff --git a/cameleer3-server-app/src/main/java/com/cameleer3/server/app/config/IngestionConfig.java b/cameleer3-server-app/src/main/java/com/cameleer3/server/app/config/IngestionConfig.java index 762b0e39..ab806e2d 100644 --- a/cameleer3-server-app/src/main/java/com/cameleer3/server/app/config/IngestionConfig.java +++ b/cameleer3-server-app/src/main/java/com/cameleer3/server/app/config/IngestionConfig.java @@ -12,7 +12,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; public class IngestionConfig { private int bufferCapacity = 50_000; - private int batchSize = 500; + private int batchSize = 100; private long flushIntervalMs = 1_000; public int getBufferCapacity() { diff --git a/deploy/clickhouse.yaml b/deploy/clickhouse.yaml index 4cbd69b6..2fe911d1 100644 --- a/deploy/clickhouse.yaml +++ b/deploy/clickhouse.yaml @@ -40,10 +40,10 @@ spec: mountPath: /var/lib/clickhouse resources: requests: - memory: "512Mi" + memory: "1Gi" cpu: "200m" limits: - memory: "2Gi" + memory: "4Gi" cpu: "1000m" livenessProbe: httpGet: