Raw capture โ€” raw/aurora-dsql-murat-demirbas.md


url: https://muratbuffalo.blogspot.com/2026/07/aurora-dsql-scalable-multi-region-oltp.html title: "Aurora DSQL: Scalable, Multi-Region OLTP" author: Murat Demirbas date_fetched: 2026-08-01 date_published: 2026-07-23


Aurora DSQL: Scalable, Multi-Region OLTP

Author: Murat Demirbas (blog: Metadata โ€” "On distributed systems broadly defined and other curiosities") Date: July 23, 2026

Overview

The author notes that the Aurora DSQL paper (arXiv:2607.13276) finally shipped, and reads it as an insider: he spent 2022โ€“23 working with the AWS team that designed and built it. Because he already knew the architecture, the paper felt dry to him. His one-sentence distillation of the design:

"We took a traditional monolithic database and blew out every single component into an independent, horizontally scalable service."

Exploding the Monolith

DSQL decomposes the database into five specialized services:

The Big Architectural Bets

  1. The Synchronized Clock Bet: To get coordination-free reads, DSQL relies entirely on highly synchronized physical clocks โ€” AWS TimeSync. A QP checks its local clock and asks storage for data from that exact microsecond.
  2. No Pessimistic Locking: OCC would normally cause high abort rates, but DSQL pairs it with MVCC under Snapshot Isolation. Since readers look at a past snapshot, read-write conflicts are impossible. For write-skew, customers are told to use FOR UPDATE and design schemas that force write-write conflicts for business-logic violations.
  3. Eventual Consistency is Dead: DSQL provides linearizability, on the argument that developers "simply cannot write correct business logic on eventually consistent systems." The author clarifies that linearizability (single-object real-time guarantees) and snapshot isolation (multi-object transaction visibility) control different things; DSQL offers a consistent snapshot for transactions plus strict real-time ordering for individual key operations.
  4. Forcing Guardrails: Transactions are hard-capped at 3,000 rows and 10 MiB. The paper cites Little's Law: smaller transactions buy highly predictable, stable tail latency.
  5. Linearized 2PC: Traditional 2PC over wide-area networks costs 2 RTTs. DSQL uses a Warp-inspired trick where adjudicators vote, but only the leader writes the final commit to its single Journal โ€” avoiding coordination across multiple logs.

The Payoff

Tradeoffs and Shortcomings

The author is candid about downsides:

Building at Scale

The author's final, counterintuitive takeaway: building a novel global production database felt like less effort than it should have. He credits a great upfront design and a deliberate choice to reuse existing pieces:

He also praises team dynamics, calling Marc Brooker "technically brilliant" and a masterful leader of a talented principal-engineer team, with enjoyable weekly whiteboard sessions. The author caveats that he wasn't with the team for the final year of the project.


Labels: databases, distributed transactions, distSQL, paper-review