System Design Daily
In this report · 3 items
Coverage: 28 Oct 2026 22:09 – 29 Oct 2026 22:09 Europe/London (last 24h priority; prior 7 days for context)
TL;DR: PlanetScale detailed a production design for near-zero-disruption planned switchovers in Neki (sharded Postgres) via preflight, WAL convergence and proactive query buffering; complemented by lessons from Railway’s secrets incident and agentic systems evolution.
Resources & articles
-
Designing a planned switchover for minimum disruption (Shlomi Noach, PlanetScale, 29 Oct 2026) — Read first
What you will learn: How Neki (one primary + replicas per shard) performs planned promotions for pod/kernel/cell moves. Preflight validates state, slots and config; Admin freezes non-target replicas, converges WAL, preserves
ANY 1sync replication; Routers buffer primary-bound queries then replan. Clients experience delay, not errors (best-effort; finite buffer + deadlines). Strong durability guarantee and fast rollback if promotion fails. Why worth time: Concrete, production mechanisms that go beyond generic failover advice; shows the operational cost of true minimal disruption. -
From Microservices to Agents: the Next Evolution of Distributed Systems (Mallika Rao, InfoQ, 19 Oct 2026)
What you will learn: Shift from fixed control flows and binary failures to non-deterministic decision paths, fluid shared state, and silent degradation in reasoning quality. Emerging patterns (planning vs execution separation, evaluation loops, tool platforms) and the need to treat decision quality as a first-class reliability metric alongside latency. Why worth time: Clear framing of what is genuinely new versus established distributed-systems principles when building agent systems.
-
What you will learn: Concrete trade-offs and failure modes for Postgres vs DynamoDB, strong vs eventual consistency, REST vs Kafka + outbox, caching races, horizontal scale vs backpressure, active-active vs passive, microservices vs modular monolith. Emphasises reasoning under uncertainty, documenting risks and running experiments. Why worth time: Interview resource that teaches sound architectural judgment rather than pattern recitation.
Pattern spotlight
Proactive query buffering during planned primary switchovers.
Problem: Topology changes (upgrades, migrations, cell moves) on a write primary normally drop connections or return errors. When you control the routing layer you can signal an impending switch, hold primary-bound queries, complete WAL convergence and promotion, then replan and send. Applies to systems that already have a smart router/proxy and synchronous replication. Main trade-off: Added latency and risk of buffer exhaustion or deadline failures versus an error-free experience for clients; requires careful WAL positioning and sync configuration to avoid data loss or stuck states. Source: PlanetScale Neki post.
News worth knowing
- Railway October 2026 security incident (preliminary report 22–23 Oct). Attacker reached CI credentials in the build pipeline and decrypted a subset of stored environment variables (at most ~1.85% of workspaces / ~100k). Targeted AI provider keys. Practical implication: PaaS-held secrets are a high-value target; design for rapid, broad rotation, least-privilege build environments, and assume a platform breach can expose downstream credentials even if your own app is untouched. Preliminary report · TechCrunch
- Inngest multi-DC dependency and connection-pool collapse (report 15 Oct, incidents 9–10 Oct). Function execution depended on all three data centres; a network partition and a PgBouncer + short-deadline interaction destroyed connections faster than they could be replaced, stranding runs. Implication: Shared cross-region pipelines and aggressive query cancellation can turn local failures into broad outages; consolidating or adding failure isolation reduces blast radius. Inngest report
Quiet day for brand-new primary research; the strongest signal is the production-grade switchover design and continued operational lessons from recent platform incidents. Evergreen not required today.