declarative relay deployment on hetzner relay-eval.waow.tech
atproto relay
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

ops: reduce event log retention to 12h to fit 226 GiB disk

24h × 6.1 GiB/hr = ~146 GiB steady state, too tight on current disk.
12h → ~73 GiB, leaves comfortable headroom. bump back to 24h after
attaching a dedicated volume.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz 0b9b8a35 d0787337

+11 -6
+11 -6
deploy/zlay-values.yaml
··· 11 11 pullPolicy: Never 12 12 env: 13 13 RELAY_PORT: "3000" 14 - RELAY_HTTP_PORT: "3001" 14 + RELAY_METRICS_PORT: "3001" 15 15 RELAY_UPSTREAM: "bsky.network" 16 16 RELAY_DATA_DIR: /data/events 17 - RELAY_RETENTION_HOURS: "72" 17 + RELAY_RETENTION_HOURS: "12" 18 18 COLLECTION_INDEX_DIR: /data/collection-index 19 + # glibc malloc tuning: limit internal arenas to reduce fragmentation 20 + # with ~2,700 threads. default is 8 * num_cpus = 128 arenas. 21 + MALLOC_ARENA_MAX: "2" 22 + # return freed pages to OS when free chunks exceed 128 KB 23 + MALLOC_TRIM_THRESHOLD_: "131072" 19 24 envFrom: 20 25 - secretRef: 21 26 name: zlay-secret ··· 26 31 spec: 27 32 httpGet: 28 33 path: /_health 29 - port: &http-port 3001 34 + port: 3000 30 35 initialDelaySeconds: 10 31 36 periodSeconds: 15 32 37 timeoutSeconds: 5 ··· 43 48 zlay: 44 49 controller: zlay 45 50 ports: 46 - ws: 47 - port: 3000 48 51 http: 49 - port: *http-port 52 + port: 3000 53 + metrics: 54 + port: 3001 50 55 51 56 persistence: 52 57 data: