System Design Daily
In this report · 3 items
Coverage: 13 Nov 2026 22:12 – 14 Nov 2026 22:12 Europe/London
TL;DR: Cloudflare’s QuePaxa deep dive and Spend Management metering pipeline show concrete approaches to WAN-resilient consensus and scalable, near-real-time usage aggregation for cost controls.
Resources & articles
- Read first: Choosing QuePaxa, an unusual consensus algorithm (Cloudflare, 11 Nov 2026). Learn an optional-leader protocol that removes reliance on fault detection and uses constructive interference between proposers so progress continues under latency spikes and partial connectivity—unlike Raft/Paxos. Essential for global control planes; powers the experimental Meerkat service (first industrial-scale QuePaxa deployment).
- Introducing Spend Management (Cloudflare, 13 Nov 2026). Two-stage metering pipeline aggregates raw events close to the source (typically 1-min then 5-min windows) before an account-partitioned Usage Engine and Rating Engine; decisions propagate asynchronously via Quicksilver for <10 min enforcement that pauses billable invocations while static assets continue. Practical lessons for high-scale metering, billing, and rate-limiting architectures.
Pattern spotlight
Optional-leader consensus with constructive interference.
Problem: Leader-based protocols (Raft, Multi-Paxos) stall or enter metastable election storms when the leader is slow or unreachable on volatile wide-area networks. Solution: Any replica can propose; concurrent proposals cooperate by adopting the highest-priority one rather than destructively blocking each other; leader is optional and only accelerates the common case to one round-trip. Applies to global control-plane state needing linearizable consistency (KV stores, leases). Main tradeoff: non-leader paths require more round-trips; liveness still relies on partial synchrony assumptions. Source: QuePaxa post.
News worth knowing
Cloudflare launched Spend Management in beta (13 Nov 2026), turning usage metering into runtime blocking decisions for Workers and Durable Objects. Practical implication: design cost-sensitive paths to tolerate automatic pause of billable work (Cron Triggers, Queue consumers) while preserving non-billable serving; metering lag can allow slight overshoot of the configured limit. Source.
Quiet day overall for new postmortems or major pattern papers; the above provide the strongest recent concrete lessons.