Welcome to Distributed Bytes!

I share interesting articles, videos, papers and more about distributed systems, formal methods and computer science.

Made with by Federico Ponzi

Recent Posts

What Does Write Skew Look Like?

This post is about gaining intuition for Write Skew, and, by extension, Snapshot Isolation. Snapshot Isolation is billed as a transaction isolation level that offers a good mix between performance and correctness.

What Does Write Skew Look Like?

How to do distributed locking — Martin Kleppmann’s blog

Redis has been gradually making inroads into areas of data management where there are stronger consistency and durability expectations – which worries me, because this is not what Redis is designed for. Arguably, distributed locking is one of those areas. Let’s examine it in some more detail.

How to do distributed locking — Martin Kleppmann’s blog

Reproducing the AWS Outage Race Condition with a Model Checker | Waqas Younas' blog

As a small experiment, we’ll use a model checker to see how such a race could happen. Formal verification can’t prevent every failure, but it helps us think more clearly about correctness and reason about subtle concurrency bugs.

Reproducing the AWS Outage Race Condition with a Model Checker | Waqas Younas' blog

TLA+ Modeling of AWS outage DNS race condition

On Oct 19–20, 2025, AWS’s N. Virginia region suffered a major DynamoDB outage triggered by a DNS automation defect that broke endpoint resol...

TLA+ Modeling of AWS outage DNS race condition

TernFS: an exabyte scale, multi-region distributed filesystem | XTX Tech Blog

This post motivates TernFS, explains its high-level architecture, and then explores some key implementation details.

TernFS: an exabyte scale, multi-region distributed filesystem | XTX Tech Blog

Just make it scale: An Aurora DSQL story | All Things Distributed

The goal with Aurora DSQL’s design is to break up the database into bite-sized chunks with clear interfaces and explicit contracts. Each component follows the Unix mantra—do one thing, and do it well—but working together they are able to offer all the features users expect from a database (transactions, durability, queries, isolation, consistency, recovery, concurrency, performance, logging, and so on).

Just make it scale: An Aurora DSQL story | All Things Distributed

Aurora DSQL: How authentication and authorization works

In this article, I’m going to explain how connections to Aurora DSQL are authenticated and authorized. This information is meant to be supplemental to what is found in the official Amazon Aurora DSQL documentation.

Aurora DSQL: How authentication and authorization works

Dynamo, DynamoDB, and Aurora DSQL - Marc's Blog

People often ask me about the architectural relationship between Amazon Dynamo (as described in the classic 2007 SOSP paper), Amazon DynamoDB (the serverless distributed NoSQL database from AWS), and Aurora DSQL (the serverless distributed SQL database from AWS). There’s a ton to say on the topic, but I’ll start off on comparing how the systems achieve a few key properties.

Dynamo, DynamoDB, and Aurora DSQL - Marc's Blog

Dynamo, DynamoDB, and Aurora DSQL - Marc's Blog

People often ask me about the architectural relationship between Amazon Dynamo (as described in the classic 2007 SOSP paper), Amazon DynamoDB (the serverless distributed NoSQL database from AWS), and Aurora DSQL (the serverless distributed SQL database from AWS). There’s a ton to say on the topic, but I’ll start off on comparing how the systems achieve a few key properties.

Dynamo, DynamoDB, and Aurora DSQL - Marc's Blog

Linearizability testing S2 with deterministic simulation

With S2, it is a hard requirement that our Stream API operations exhibit linearizability. Linearizable systems are far simpler to reason about, and many applications are only possible to build on top of data platforms that offer strong consistency guarantees like this. Because it's important, we also need to test it! We can gain confidence that S2 is linearizable by taking an empirical validation approach, using a model checker like Knossos, or Porcupine.

Linearizability testing S2 with deterministic simulation