System Design Daily
Coverage: 3 Oct 22:20 – 4 Oct 22:20, Europe/London; context 27 Sep–4 Oct. The last 24 hours had no new primary postmortem or design doc in the X sample. Strongest unread material is from 2–30 Sep and was not in the 2–3 Oct reports. Neon’s 30 Sep reliability post is omitted as already covered.
TL;DR: A planned Kafka partition at Jane Street became a reconnect storm because timeouts did not cancel DNS and connect work; Firebase’s iOS analytics SDK crashed on a two-line config deletion because the client did not reject a missing flag.
Resources & articles:
- Read first: How recurring network maintenance exposed 6 bugs — Adam Yi, Jane Street, 2 Oct 2026. A 15–25 minute cabinet partition hit six bugs: an 11-year glibc
res_initfailure that leaves NULL nameserver pointers, a UDP socket leak onbindfailure, a 14-year Async regression whose connect timeout skips DNS, Kafka retries that do not abort the attempt, duplicate discovery lookups, and an FD soft limit silently cut from 262,144 to 32,768. Concrete scale: about 27,000 outstanding attempts, 474,033 TCP connections in 30 seconds, 30,469 leaked UDP sockets in one process. Established failure modes, not a new pattern. UDP demand during the partition is inferred, not traced. - Google Analytics for Firebase iOS SDK outage — Jerome Mourits and Don Kahn, 2 Oct 2026; PM post on X 3 Oct. A stale flag cleanup (two lines) shipped a payload whose flag name was nil. The SDK crashed once per affected user, then fell back to the previous config. Bad payload served 2 hours 11 minutes; on-call alerted within about 20 minutes. Lesson is client-side schema validation and staged config rollout, not a new serving design.
- Memory safety for Postgres extensions in C/C++ — Philip Dubé, ClickHouse, 30 Sep 2026.
pallocplussetjmp/longjmpskips C++ destructors; an uncaught exception can abort the backend and force postmaster recovery. Their four extensions isolate C++ (pure C, a wrapper that never calls Postgres, a helper process, a background worker). Established boundary. A terminate handler is not crash isolation.
Pattern spotlight: Timeout is not cancellation. A retry budget that does not abort in-flight DNS or connect work queues attempts across a partition, then opens them together when the network returns. Applies after maintenance, broker loss, or dependency timeouts, especially with host-wide ephemeral ports and per-process FD caps. Tradeoff: cancelling in-flight lookups drops work that might succeed moments later, and correct cancellation needs failure-atomic setup (close the socket if bind fails; do not leave resolver state half-reset). Source: Jane Street, 2 Oct.
News worth knowing:
- Firebase GA4F iOS config outage, 28 Sep, write-up 2 Oct. Remote config is a schema, not a trusted map: clients should ignore a corrupt flag and keep cached defaults, and status pages that omit SDK crash signals miss this class. Postmortem.
- ClickHouse’s 30 Sep extension write-up is a reminder, not a new release: C++ inside a Postgres backend is a shared-memory hazard. Prefer a helper process if the library cannot be pure C. Write-up.