The Cosmos DB default consistency level, which lets a session read its own writes using session tokens tied to partitions, while keeping latency and cost close to eventual consistency.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Session consistency in context, with comparison tables and the common traps.
Terms in this definition
- Cosmos DB
NoSQL database distributed globally, offering writes in multiple regions, automatic indexing and latency below 10 ms.
- Consistency level
How Azure Cosmos DB balances read consistency against latency, throughput and availability. You pick one of five, ranging from Strong through Bounded staleness, Session and Consistent prefix down to Eventual, the weakest.
- CRUD
Shorthand for create, read, update and delete, the four basic things you do with data. Data-plane roles in Azure Cosmos DB, for instance, authorise those operations on items.
- ACID
Four promises a database transaction makes: atomicity, consistency, isolation and durability. Azure Cosmos DB honours them, with snapshot isolation, only inside one logical partition, using stored procedures, triggers or transactional batch.