Skip to content

Commit 8a85d28

Browse files
authored
Merge pull request #175994 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/azure-docs (branch master)
2 parents 78937f1 + e4c0e40 commit 8a85d28

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/cosmos-db/consistency-levels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 09/20/2021
1010
# Consistency levels in Azure Cosmos DB
1111
[!INCLUDE[appliesto-all-apis](includes/appliesto-all-apis.md)]
1212

13-
Distributed databases that rely on replication for high availability, low latency, or both, must make a fundamental tradeoff between the read consistency, availability, latency, and throughput as defined by the [PACLC theorem](https://en.wikipedia.org/wiki/PACELC_theorem). The linearizability of the strong consistency model is the gold standard of data programmability. But it adds a steep price from higher write latencies due to data having to replicate and commit across large distances. Strong consistency may also suffer from reduced availability (during failures) because data cannot replicate and commit in every region. Eventual consistency offers higher availability and better performance, but its more difficult to program applications because data may not be completely consistent across all regions.
13+
Distributed databases that rely on replication for high availability, low latency, or both, must make a fundamental tradeoff between the read consistency, availability, latency, and throughput as defined by the [PACELC theorem](https://en.wikipedia.org/wiki/PACELC_theorem). The linearizability of the strong consistency model is the gold standard of data programmability. But it adds a steep price from higher write latencies due to data having to replicate and commit across large distances. Strong consistency may also suffer from reduced availability (during failures) because data cannot replicate and commit in every region. Eventual consistency offers higher availability and better performance, but its more difficult to program applications because data may not be completely consistent across all regions.
1414

1515
Most commercially available distributed NoSQL databases available in the market today provide only strong and eventual consistency. Azure Cosmos DB offers five well-defined levels. From strongest to weakest, the levels are:
1616

articles/cosmos-db/how-to-configure-private-endpoints.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ $virtualNetwork = Get-AzVirtualNetwork -ResourceGroupName $ResourceGroupName -N
133133
134134
$subnet = $virtualNetwork | Select -ExpandProperty subnets | Where-Object {$_.Name -eq $SubnetName}
135135
136-
$privateEndpoint = New-AzPrivateEndpoint -ResourceGroupName $ResourceGroupName -Name $PrivateEndpointName -Location "westcentralus" -Subnet $subnet -PrivateLinkServiceConnection $privateEndpointConnection
136+
$privateEndpoint = New-AzPrivateEndpoint -ResourceGroupName $ResourceGroupName -Name $PrivateEndpointName -Location $Location -Subnet $subnet -PrivateLinkServiceConnection $privateEndpointConnection
137137
```
138138

139139
### Integrate the private endpoint with a private DNS zone
@@ -163,13 +163,13 @@ $networkInterface = Get-AzResource -ResourceId $pe.NetworkInterfaces[0].Id `
163163
164164
$PrivateDnsZoneId = $zone.ResourceId
165165
166-
$config = New-AzPrivateDnsZoneConfig -Name $zoneName`
166+
$config = New-AzPrivateDnsZoneConfig -Name $zoneName `
167167
-PrivateDnsZoneId $PrivateDnsZoneId
168168
169169
## Create a DNS zone group
170-
New-AzPrivateDnsZoneGroup -ResourceGroupName $ResourceGroupName`
171-
-PrivateEndpointName $PrivateEndpointName`
172-
-Name "MyPrivateZoneGroup"`
170+
New-AzPrivateDnsZoneGroup -ResourceGroupName $ResourceGroupName `
171+
-PrivateEndpointName $PrivateEndpointName `
172+
-Name "MyPrivateZoneGroup" `
173173
-PrivateDnsZoneConfig $config
174174
```
175175

0 commit comments

Comments
 (0)