Skip to content

Commit 02d5a9a

Browse files
authored
perf: increase parquet arrow buffer size (#340)
1 parent bc47d47 commit 02d5a9a

File tree

6 files changed

+14
-1
lines changed

6 files changed

+14
-1
lines changed

Diff for: charts/operator-wandb/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: operator-wandb
33
description: A Helm chart for deploying W&B to Kubernetes
44
type: application
5-
version: 0.25.3
5+
version: 0.25.4
66
appVersion: 1.0.0
77
icon: https://wandb.ai/logo.svg
88

Diff for: charts/operator-wandb/charts/app/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ spec:
308308
- name: GORILLA_ARTIFACTS_GC_DELETE_FILES_NUM_WORKERS
309309
value: {{ .Values.artifactsGc.DeleteFilesNumWorkers | quote }}
310310

311+
- name: GORILLA_PARQUET_ARROW_BUFFER_SIZE
312+
value: "2147483648" # 2GB
313+
311314
{{- if .Values.global.executor.enabled }}
312315
- name: GORILLA_TASK_QUEUE
313316
value: "{{ include "app.redis" . | trim }}"

Diff for: charts/operator-wandb/charts/executor/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ spec:
157157
- name: GORILLA_FILE_STREAM_STORE_ADDRESS
158158
value: {{ include "executor.fileStreamStore" . | quote }}
159159

160+
- name: GORILLA_PARQUET_ARROW_BUFFER_SIZE
161+
value: "2147483648" # 2GB
162+
160163
- name: AZURE_STORAGE_KEY
161164
valueFrom:
162165
secretKeyRef:

Diff for: charts/operator-wandb/charts/parquet/templates/cron.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ spec:
126126
value: "false"
127127
{{- end }}
128128

129+
- name: GORILLA_PARQUET_ARROW_BUFFER_SIZE
130+
value: "2147483648" # 2GB
131+
129132
- name: WEAVE_SERVICE
130133
value: "{{ .Release.Name }}-weave:9994"
131134
- name: PARQUET_HOST

Diff for: charts/operator-wandb/charts/parquet/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ spec:
187187
value: "true"
188188
{{- end }}
189189

190+
- name: GORILLA_PARQUET_ARROW_BUFFER_SIZE
191+
value: "2147483648" # 2GB
192+
190193
{{- include "parquet.extraEnv" (dict "global" .Values.global "local" .Values) | nindent 12 }}
191194
{{- include "wandb.extraEnvFrom" (dict "root" $ "local" .) | nindent 12 }}
192195

Diff for: charts/operator-wandb/templates/gorilla.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ data:
6262
GORILLA_COLLECT_AUDIT_LOGS: "true"
6363
GORILLA_USE_PARQUET_HISTORY_STORE: "true"
6464
GORILLA_PARQUET_PORT: "8087"
65+
GORILLA_PARQUET_ARROW_BUFFER_SIZE: "2147483648" # 2GB
6566
GORILLA_RUN_UPDATE_QUEUE_ADDR: "internal://"
6667
GORILLA_FILE_STORE_IS_PROXIED: "false"
6768
GORILLA_ACTIVITY_STORE_SERVE: "true"

0 commit comments

Comments
 (0)