首页›Marc Brooker›文章

Aurora DSQL: Scalable, Multi-Region OLTP

2026年7月19日

AI 摘要 AI 生成,可能有误

该文章宣布一篇新论文《Aurora DSQL:可扩展的多区域 OLTP》现已在 Arxiv 上发布,该论文全面、端到端地介绍了 Aurora DSQL 的工作原理,涵盖查询处理、事务、复制和控制平面。文章重点介绍了该数据库的完全解耦架构,该架构旨在简化高弹性、高可用性应用的构建与运维,并采用乐观并发控制等技术防止客户端相互阻塞,以及避免亚稳态故障。作者认为,硬件、网络和数据中心设计的进步已经改变了权衡取舍,使得强一致性成为几乎所有应用程序的正确默认选择,而非 Dynamo 时代所推崇的最终一致性。

Aurora DSQL: Scalable, Multi-Region OLTP

A paper!

Our new paper, Aurora DSQL: Scalable, Multi-Region OLTP, is now available on Arxiv. I’m excited about this one: it’s a fully end-to-end look at how Aurora DSQL works, from query processing, to transactions, to replication, to the control plane. We’ve shared most of this content before in other forms, on this blog, on Marc Bowes’ Blog, Werner’s Blog, in talks, and on the AWS blog. But this version covers all the ground, all in one place.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Marc Brooker

A Correctness Approach for Modern Systems Software

AI 摘要The author presents a rigorous correctness methodology for systems software, demonstrated through a Rust distributed lock (lease) client backed by Aurora DSQL or DynamoDB, claiming it has the lowest bug density of any code written in their 30-year career despite never reading the implementation. The approach combines misuse-resistant API design, a formal spec, safe Rust, machine-checked proofs via Aeneas/Lean, model checking with Veil, refinement proofs, deterministic simulation with runtime monitoring, mutation testing, and conventional unit and integration testing. The author argues this level of rigor is justified for foundational, high-leverage components and that agentic coding tools have made advanced formal verification techniques accessible to non-experts at relatively low cost.

Traffic mix matters

AI 摘要Reacting to Microsoft's preliminary report on a recent M365 outage, which noted that lab load testing missed a latent issue because of differences in traffic mix, the author explains why workload composition is critical to performance testing. Using simple simulators of lock-based systems and cache-backed databases, they show that skewed key distributions (Zipf) can shift throughput by orders of magnitude in either direction—hurting it under lock contention while helping it through cache hits. The takeaway is that load tests and benchmarks are only meaningful when their traffic mix closely matches real production traffic.

What does it mean to understand what we built?

AI 摘要The author reflects on the 'No AI Slop Manifesto' and its value of 'understanding over speed,' arguing that its definition of understanding is too focused on code. They contend that truly important properties of software—such as correctness guarantees, user benefits, and emergent behaviors like metastable failures—cannot be grasped by reading code alone, and software engineering still lacks system-level analysis tools comparable to Bode plots or Nyquist criteria in other fields. The author sees AI as a powerful tool for shifting focus from code-level scrutiny to understanding systems as built, though they wish the manifesto had thought more deeply about what being 'for understanding' really means.

Animations for System Builders: Metastability and Lost Writes

AI 摘要The article advocates building animations as a technique for system builders to develop intuition about how systems work and fail, focusing on metastability and lost writes. Using traces captured from real test environments, the author presents concrete examples—including a Raft cluster losing writes when a member's storage lies about fsync(), Postgres and etcd entering metastable states after load spikes, and garbage collection in etcd creating a self-reinforcing degradation loop—to show these failures occur even in widely-used, production-proven software. The animations were generated with Kiro and KiroCrew, mostly with Opus 5.5.

Strands Decider: Why Not an Encoder?

AI 摘要The author explains why the strands-decider-2B model is a modified decoder LLM rather than an encoder like BERT, by benchmarking five designs including T5Gemma-based encoder-only and encoder-decoder variants against their decoder-based v19. Encoder-only models matched or slightly beat the decoder on accuracy with roughly half the latency (~35ms vs 65ms), but scaled worse with longer prompts due to quadratic attention costs, and the unmasked encoder variant showed weaker generalization on the main eval benchmarks. The author concludes that neither architecture is a clear winner at this scale and that the experiment is too confounded to definitively settle the decoder-versus-encoder question.