You are previewing NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence.

NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence

Cover of NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence by Martin Fowler... Published by Addison-Wesley Professional
O'Reilly logo

Chapter 6. Version Stamps

Many critics of NoSQL databases focus on the lack of support for transactions. Transactions are a useful tool that helps programmers support consistency. One reason why many NoSQL proponents worry less about a lack of transactions is that aggregate-oriented NoSQL databases do support atomic updates within an aggregate—and aggregates are designed so that their data forms a natural unit of update. That said, it’s true that transactional needs are something to take into account when you decide what database to use.

As part of this, it’s important to remember that transactions have limitations. Even within a transactional system we still have to deal with updates that require human intervention and usually cannot be run ...

The best content for your career. Discover unlimited learning on demand for around $1/day.