Aurora DSQL: Scalable, Multi-Region OLTP

Murat · 2026年7月24日

AI 摘要 AI 生成,可能有误

The author, a former member of the AWS team that built Aurora DSQL, reviews the newly published DSQL paper, describing how it disassembles a traditional monolithic database into independently scalable services—query processors, storage nodes, adjudicators, journals, and crossbars. Key architectural bets include synchronized clocks for zero-coordination reads, optimistic concurrency control with MVCC under snapshot isolation, strong linearizable consistency, transaction size caps, and a linearized 2PC for multi-region commits. While praising the resulting performance and scalability, the author notes tradeoffs such as write-write conflicts on hot keys and delayed multi-region conflict detection, and credits the project's success to strong upfront design and reuse of existing components like PostgreSQL and AWS's internal journal service.

The Aurora DSQL paper finally dropped. Reading it yesterday was an interesting experience, because I spent two years (2022-23) working with the AWS team that designed and built Aurora DSQL. Since I have been very familiar with the architecture, the paper's overview description of the system didn't excite me much. And if I am being honest, reading the paper also felt a bit dry, most likely because I am not doing the usual extra thinking to explore/understand the ideas in the paper. But taking a step back today, and leaving my subjective experience aside, I will try to elaborate on how the DSQL architecture is actually built on a set of aggressive and opinionated engineering bets. 

If I had to explain this architecture in a single sentence (just as I used to do for other teams at AWS) it would be this: We took a traditional monolithic database and blew out every single component into an independent, horizontally scalable service.

Exploding the Monolith

继续阅读全文

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

更多来自 Murat Demirbas

Meaningful Human-in-the-Loop Checking of GenAI Synthesis for Restricted Languages

AI 摘要The article reviews an ECOOP 2026 paper introducing PICK, a human-in-the-loop tool that resolves ambiguity in LLM-generated specifications for restricted languages (regexes, LTL, access-control policies) by deriving multiple candidate formulas, sampling concrete scenarios where the candidates disagree, and asking users to accept or reject them until only the correct candidate survives. Experiments showed PICK substantially improved accuracy over reading formulas directly (e.g., 60–72% versus 22% on regex tasks) and made users more likely to correctly reject all wrong candidates. The author also applies the same idea in reverse to build 'Do you Paxos?', an interactive tutor that teaches correct Paxos by quizzing users on behaviors distinguishing it from common misconceptions.

TLAPS-Bench: Formally Proving Correctness Of Real-World System Specifications With TLA+ Proof System

AI 摘要TLAPS-Bench is a benchmark of 265 proof targets drawn from 95 real-world TLA+ specifications (including etcd Raft, ZooKeeper, and MongoDB transactions), designed to measure how well AI agents can carry the burden of deductive correctness proofs using the TLA+ Proof System. Unlike existing verification benchmarks that provide scaffolding such as helper lemmas or invariants, it hands agents only the spec and target theorem—covering safety, liveness, and refinement properties—and its Tilapia harness supplies proof checking, model checking tools, and anti-cheating guards, notably using a 'falsify before you prove' recipe where TLC and Apalache quickly refute bad candidate invariants. On the 70 hardest targets, the best current model proved 44.3%, leaving substantial room for AI labs to improve agents' formal proof and autoformalization capabilities.

Writing as a thinking tool

AI 摘要The author argues that writing is fundamentally a tool for thinking, likening a human without writing to a finite automaton and one with writing to a Turing machine, and illustrates this with personal experiences from mind maps in school to paper reviews and blogging. They warn that delegating writing to LLMs outsources the very act of thinking, making personal writing a widening comparative advantage. The article closes with five practical rules: produce unrestrained first drafts, edit ruthlessly, keep prose simple and plain, write for yourself without expectations, and put writing on a regular schedule.

TLA-Verus: LLM agents prove temporal properties of TLA+ specs

AI 摘要This article reviews the TLA-Verus paper, which uses LLM agents in a prover-reviewer loop to translate TLA+ specs from GitHub into Verus and prove safety and liveness properties there. The author criticizes the paper for lacking any refinement proof linking the Verus spec back to the original TLA+ (and producing no executable Rust code at all), understating TLAPS's existing temporal proof capabilities, and presenting a skewed corpus and a benchmark filtered to tasks its own pipeline had already proven. Nonetheless, the author finds Verus itself and the paper's automated task generator genuinely useful contributions.

The Man from the Future: Why Johnny Can't Stop Abstracting

AI 摘要The article reviews Ananyo Bhattacharya's biography of John von Neumann, chronicling his early years in Budapest and his foundational contributions to an extraordinary range of fields, including set theory, quantum mechanics, game theory, economics, and computing. The author argues that von Neumann's real superpower was the 'art of abstraction'—reducing messy domains to their minimal objects and axioms, as seen in his rigorous Hilbert space formulation of quantum mechanics, his axiomatization of expected utility, and the stored-program computer architecture he deliberately released into the public domain. The piece also explores his upbringing, including his father's seminar-style dinners and multilingual education, as keys to understanding the 'Johnny phenomenon'.