5 Oct5 of 8

Your topics

Hidden topics stay in the archive and search.

13 of 13 shown

System Design Daily

2 min readFiled 5 Oct

Coverage: 4 Oct 22:10 – 5 Oct 22:10 Europe/London; 7-day context from 28 Sep. Cutoff 22:10 BST.

TL;DR: The useful material is about scaling the saturated stage, not the topology: OpenObserve’s role split, and a PHP-FPM hang that held MySQL connections until login failed.

Resources & articles:

Read first. 7 OpenObserve Architecture Patterns for Scaling Efficiently (Shah, 5 Oct). Vendor guide. Start single-node (claimed ≤1 TB/day on SQLite plus object storage) and add HA — NATS, Postgres metadata, five roles — only for availability, SSO, or that volume. Scale ingesters, queriers, or compactors independently; a slow dashboard is often a repeated query, fixed by result caching. The 1 TB figure is their claim, not an independent benchmark.

How gRPC with opcache.preload Used All Our MySQL Connections (Hałas, 3 Oct; X today). Non-root FPM plus preload hangs the first gRPC call (grpc/grpc#30526, open since 2022). Workers never release MySQL. max_connections 700, peak 708, 80 children/pod, autoscaler to 15 pods. A call timeout does not unstick it. Claimed workaround: grpc.enable_fork_support=1 and grpc.poll_strategy=epoll1.

How we extended Apache DataFusion to execute one query across many machines (Musat Mestre, 1 Oct; recirculated today). Shuffle and coalesce sit on the physical plan so one interactive query spans machines, and the planner skips distribution when the exchange costs more than the scan. Established pattern, new as an open DataFusion extension. No latency table in the sections I read.

Pattern spotlight: Scale the saturated role. OpenObserve describes a five-node HA cluster at 10% utilization while one dashboard query timed out weekly. Atlassian’s detector rebuild (Biswas, 30 Sep) does the same on a stream: filter at the Kafka subscription, one Flink job, split operators by profile. Claimed event-to-metric latency from >40s to <10s, and 97% lower cost from bus filtering, covering only instrumented paths; volume-drop detectors wait 2 minutes to cut false positives. Article.

News worth knowing:

  • HN today is re-reading Tigris’s move of QuiCK-on-FoundationDB jobs to Kafka (article, 22 Sep, outside this window; thread). Tombstone cleanup dropped from at least six queue writes to two FDB writes; replication stayed in FDB to avoid dual-write. A transactional queue’s lease path can throttle the user store first.

Neon’s 30 Sep reliability write-up is unchanged from the 3 Oct briefing and is not repeated.

Up nextRL & Fine-Tuning