Two people, one seat: Designing for real-world concurrency (Azure Cosmos DB Conf)

Patty Chow uses a “two people, one seat” scenario to highlight why concurrency bugs show up in real systems, then points to Azure Cosmos DB patterns—like multi-region writes, conflict resolution, change feed, event sourcing, and replay/replayable architectures—to design for issues you can’t easily simulate.

Overview

The short frames a common distributed-systems failure mode: two actors perform valid actions at the same time (both bought a ticket), but the system can’t coordinate fast enough to prevent an invalid outcome (only one seat exists).

It highlights Azure Cosmos DB-focused approaches teams use to build resilient, globally distributed applications:

Related playlist: https://aka.ms/CosmosConf26Playlist