An organization deploys a globally distributed web application using Azure Cosmos DB. The application has a requirement that when a manager updates a system setting in client session , all other administrators using client session in other regions must immediately see the updated setting. The developer does not want to pass or share session tokens between these separate client sessions. Which consistency level should be selected to meet this requirement?
- ASession
- StrongCevap
- CConsistent Prefix
- DEventual
Cevap
Strong consistency must be selected to guarantee that all client sessions immediately read the latest writes without needing to share session tokens.
Strong consistency offers a linearizability guarantee, ensuring that reads are guaranteed to return the most recent committed version of an item. This satisfies the requirement of immediate update visibility across different client sessions without token sharing.
Adım Adım Çözüm
Anahtar Kavram
Azure Cosmos DB Consistency Levels
Tahmini Süre:1m 0s