# "Transactions: myths, surprises and opportunities" by Martin Kleppmann

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[Strange Loop Conference](https://www.youtube.com/@StrangeLoopConf) · Published 2015-09-27 · 41:08 · C tier · Systems thinking

[Watch on YouTube](https://www.youtube.com/watch?v=5ZjhNTM8XU8) · [All RatTube videos](/tube)

## Summary

Martin Kleppmann examines what database transactions promise and where those promises differ. Atomicity addresses partial multi-write changes, while isolation concerns what concurrent transactions can observe.

A bank-transfer example illustrates read skew. The talk then examines locking and the difficulty of extending serializable transactions across services. Kleppmann closes by exploring what information about ordering is lost in a loosely coordinated microservice system.

## Section notes

- [1:08](https://www.youtube.com/watch?v=5ZjhNTM8XU8\&t=68s): The talk introduces its connection to the transactions chapter of Designing Data-Intensive Applications.
- [7:32](https://www.youtube.com/watch?v=5ZjhNTM8XU8\&t=452s): Atomicity protects a group of writes from leaving a partially applied result.
- [14:54](https://www.youtube.com/watch?v=5ZjhNTM8XU8\&t=894s): A bank transfer illustrates read skew between two account balances.
- [22:14](https://www.youtube.com/watch?v=5ZjhNTM8XU8\&t=1334s): Shared locks held through the transaction stop conflicting writes to read data.
- [29:31](https://www.youtube.com/watch?v=5ZjhNTM8XU8\&t=1771s): Cross-service serializability would require an atomic commit protocol.
- [36:56](https://www.youtube.com/watch?v=5ZjhNTM8XU8\&t=2216s): The closing exploration considers ordering information and eventual consistency across services.

## Key concepts

No matching wiki page yet.

## Our take

Martin Kleppmann on what transactions are for, why they got a reputation for being slow, and the newer algorithms that make them scale. Background for choosing what a store guarantees.

## Related videos

- ["Simple Made Easy" - Rich Hickey (2011)](/tube/simple-made-easy-rich-hickey-2011)
- [John Hughes - Testing the Hard Stuff and Staying Sane](/tube/testing-hard-stuff-john-hughes)
- [John Hughes - How to specify it! A guide to writing properties of pure functions | Code Mesh LDN 19](/tube/how-to-specify-pure-function-properties)
- [Leslie Lamport: Thinking Above the Code](/tube/leslie-lamport-thinking-above-the-code)

Summary based on the transcript. Written 2026-11-15.
