Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
Under the hood, off the hot path: how D1 scales to millions of databases
Backend · Database · Distributed Systems · Software Architecture · SQLite
Cloudflare scaled D1, its managed serverless SQLite database, beyond 5.5 million databases by separating control-plane work from hot-path queries.
Each database uses a SQLite Durable Object; Workers KV provides edge routing metadata, while Hyperdrive accesses cached Postgres metadata and replicas. Queries avoid centralized components, and heartbeats repair inconsistent state. Queues and pre-aggregated Postgres tables handle storage limits, while ClickHouse and Quicksilver support analytics and row limits, enabling millions of databases and hundreds of thousands active at once.
Rewinding the exponential: How we keep hardware usage down
Backend · Big Data · Distributed Systems · Performance · Software Architecture
Cloudflare reduced data-pipeline backbone traffic by about 70 GB/s through schema decomposition, zstd compression, load-balanced replication, early sampling, and repeated aggregation.
Product-specific schemas cut bandwidth 35–40%, zstd reduced compressed throughput nearly 40%, and 2026 changes saved roughly 38 GB/s through load balancing, 25 GB/s through sampling, and 7+ GB/s through aggregation. Ready-Analytics receiver optimizations reclaimed about 750 CPUs and 3.5 TiB of memory, while projected 2031 data volume was halved.
Thundering herd of circuit breakers
Backend · Distributed Systems · Observability · Performance · Software Architecture
A client-side circuit breaker trapped traffic in a loop, blocking about 95% of requests for hours despite a healthy service.
A custom OpenTelemetry trace visualizer showed that half-open probes succeeded on a three-pod, under-provisioned service, but closing the breaker released a thundering herd; queues exceeded 100 ms, requests timed out, and the breaker reopened. Pre-scaling or force-closing allowed HPA capacity to catch up. CPU-based HPA missed three-second bursts, exposing limits of aggregate metrics and representative probes.
Nobody Is Saying Why OpenAI and Anthropic Had Outages
Artificial Intelligence · Cloud Computing · Distributed Systems
Anthropic, OpenAI, and xAI experienced simultaneous AI service outages, affecting Claude, ChatGPT, Codex, and Grok.
OpenAI attributed its incident to a routing error, Anthropic deployed a fix, and xAI cited an outage at SpaceX’s Memphis compute center. No shared third-party cause was confirmed, while possible Google Gemini issues remained unverified.
The author examines the practical challenges of achieving true decentralization within ATProto, specifically trying to host a Bluesky account on a personal PDS (Personal Data Server).
Despite using NixOS for software deployment and following available tutorials for creating a DID, the process proved undocumented and error-prone. A critical issue arose when deleting a deactivated account led to the domain being 'burned' or blacklisted by the centralized AppView. This experience reinforces the author's argument that requiring users to handle their own PKI (Public Key Infrastructure) without adequate tooling or documentation is untenable. Ultimately, the author concludes that while ATProto claims decentralization, the current reliance on Bluesky's centralized infrastructure for account verification and visibility creates a significant barrier to entry, making the network decentralized in name only for most users.
Optimistic Provide optimizes IPFS content publishing by replacing slow, rigid DHT walks with a heuristic-based approach.
By estimating network size and using predictive termination and early returns, it reduces publication latency from over 10 seconds to less than 1 second, while simultaneously cutting network overhead by 40% and maintaining high data availability for the Amino DHT.
Among European Companies That Use a CDN, Nearly 9 in 10 Use Cloudflare
Cloud Computing · Distributed Systems · Software Architecture
CipherCue’s analysis of 44,143 European companies using a detected CDN finds 39,547 (89.6%) behind Cloudflare, with substantial country variation (78.8% in Spain and Ireland to 95.6% in the Netherlands).
This concentration creates systemic outage risk: routine Cloudflare configuration and automation failures have disrupted many unrelated sites. The dataset excludes origin-only sites and does not indicate data residency.
Through reverse-engineering, a method was discovered to enable multi-tenancy for UniFi controllers by reading the unencrypted 6-byte MAC address in the Inform protocol header.
This allows routing device traffic on port 8080 to specific tenant backends without needing AES-128-CBC decryption keys, significantly reducing infrastructure costs compared to dedicated VPS hosting.
Reynold Xin discusses the Lakebase architecture, which redefines OLTP databases by decoupling compute from storage.
By using distributed services like SafeKeeper and PageServer to externalize WAL and data files, Lakebase achieves elastic scaling, durability, and serverless flexibility. Furthermore, the LTAP approach enables real-time analytics on transactional data using open columnar formats like Parquet, eliminating the need for ETL or CDC.
HMTP, a proposed successor to SMTP, uses HTTP and proven technologies like WebFinger, ActivityPub, and HPKE to modernize email.
It enhances security, ensures end-to-end encryption, and prevents spoofing by design. HMTP simplifies infrastructure, manages identity through key rotation, and solves spam via consent and cost-based mechanisms, all while maintaining standard HTTP protocols.
The essay explores the gap between functional programming's focus on program correctness and the realities of production systems, which are inherently distributed.
While tools like static types and algebraic data types provide ironclad guarantees for a single binary, they fail to account for the 'set of deployments'—where multiple versions of code, schemas, and data co-exist. The author argues that correctness is a systemic property involving interaction between differing versions across network boundaries, message queues (like Kafka), and databases. Addressing this requires looking beyond the type checker toward schema registries, 'parse, don't validate' at version boundaries, and infrastructure that tracks runtime versioning. Ultimately, it emphasizes that technical excellence in logic cannot solve 'semantic drift' or the temporal archeology of long-lived data, necessitating a shift in focus from snapshots to the evolution of the entire ensemble.
Bluesky has released an alpha of atproto spaces, a protocol primitive for syncing non-public data while preserving portable identity, interoperable records, and permissionless participation.
Spaces provide access control—not encryption—for private settings, gated content, and large communities. Developers can use SDKs, a hosted sandbox, Docker PDS images, and sample apps, but breaking changes and data loss are expected.
This project demonstrates building an IoT smart fan using an ESP32 and the Iroh networking library.
It features remote temperature/humidity sensing and fan control via a WebAssembly browser interface. The design prioritizes direct, peer-to-peer connectivity, enabling secure, cloud-independent remote management without a centralized server architecture, making it a robust example of embedded local-first computing.
Cloudflare experienced a 6-hour service outage on February 20, 2026, due to an Addressing API bug that unintentionally withdrew 1,100 BGP prefixes from its Bring Your Own IP (BYOIP) service.
The incident, caused by an automated cleanup sub-task, impacted services like CDN, Magic Transit, and Spectrum. Cloudflare is implementing standardized API schemas and health-mediated rollouts to prevent recurrence.
OpenDuck is an open-source project providing a self-hosted implementation of MotherDuck's architecture.
It enables differential storage, hybrid execution, and transparent remote database access for DuckDB. By using an open gRPC protocol and Arrow IPC, it allows users to build custom backends that integrate natively with DuckDB's optimizer and catalog.
Prompt Engineering Won’t Fix Your Architecture
Artificial Intelligence · Distributed Systems · Software Architecture
The article critiques the current trend of treating prompt engineering as a substitute for robust software architecture.
It argues that applying AI to a broken system is merely a bandaid for underlying issues like inconsistent APIs, missing domain boundaries, and scattered business logic. The author posits that AI agents are essentially distributed systems with natural language interfaces, subject to classic failures like latency and state conflicts. Instead of fixing architectural wounds, complex prompts often just hide them until they fail spectacularly in production. Ultimately, AI does not replace architecture; it amplifies it, making good systems predictable and bad systems fragile. Relying on massive prompts to explain business rules signal an architectural failure rather than technical innovation.
Ted Nelson’s Xanadu envisioned permanent, versioned, deeply linked documents with precise attribution.
The article argues that AI agents now make this architecture valuable because they can navigate extensive provenance and history. DeltaDB applies Lamport timestamps, Merkle trees, CRDTs, immutable storage, and live document projections to preserve conversations, code, and causality while remaining compatible with Git and existing tools.
Cloudflare developers identified a race condition in the hyper library causing intermittent image truncation for large requests.
The issue was a premature socket shutdown occurring before buffers were cleared. By using strace to analyze system calls, they discovered a state machine flaw in the HTTP connection lifecycle. A fix was implemented and contributed to the upstream hyper repository.
Objgit is an open-source Git server backed by object storage.
Standard Git packfiles perform poorly over network storage because they assume fast filesystem access and lack compressed-size metadata for efficient Range requests. Objgit’s columnar .bin/.cue packfiles enable object-level ranged reads, reducing storage calls and push times by up to 14.6×, though authentication and authorization remain unimplemented.
Turbopuffer replaced its internal indexing job queue with a single-file system on object storage.
Utilizing a stateless broker, group commit batching, and Compare-and-Set (CAS) for atomic operations, the design achieved 10x lower tail latency and improved scalability. This architecture ensures high availability through a simple, predictable system built on durable object storage primitives.