Hi ,
I am new to AzureCosmosDB and struggling to understand the Bounded Staleness Consistency level.
https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels
What does the lag in time and updates really mean?
Referring to this link in the Bounded Staleness section, I also need some help understanding this:
Inside the staleness window, Bounded Staleness provides the following consistency guarantees:
1.Consistency for clients in the same region for an account with single write region = Strong
2.Consistency for clients in different regions for an account with single write region = Consistent Prefix
3.Consistency for clients writing to a single region for an account with multiple write regions = Consistent Prefix
4.Consistency for clients writing to different regions for an account with multiple write regions = Eventual
Please can someone explain what the above lines mean.
1. Consistency for clients in the same region for an account with single write region = Strong
Is this a scenario where the Read and Write region is the same??
2. Consistency for clients in different regions for an account with single write region = Consistent Prefix
Is this where Reads are from a different region than write?
My understanding is in a multi write setup, the client will always write to the nearest single region. then Why is 3 and 4 talking about writing to different regions?
Is there any simpler explanation of this out there that i can refer to? a demo video perhaps?
Any assistance is deeply appreciated.
Thanks