Skip to content

Commit bbda069

Browse files
Merge pull request #217339 from gahl-levy/patch-40
Update readpreference-global-distribution.md
2 parents 07532ee + 4c9f5b3 commit bbda069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/mongodb/readpreference-global-distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Refer to the detailed [MongoDB Read Preference behavior](https://docs.mongodb.co
8181

8282
Based on common scenarios, we recommend using the following settings:
8383

84-
1. If **low latency reads** are required, use the **NEAREST** read preference mode. This setting directs the read operations to the nearest available region. Note that if the nearest region is the WRITE region, then these operations are directed to that region.
84+
1. If **high availability and low latency reads** are required, use the **NEAREST** read preference mode. This setting directs the read operations to the nearest available region. Note that if the nearest region is the WRITE region, then these operations are directed to that region.
8585
2. If **high availability and geo distribution of reads** are required (latency is not a constraint), then use the **PRIMARY PREFERRED** or **SECONDARY PREFERRED** read preference mode. This setting directs read operations to an available WRITE or READ region respectively. If the region is not available, then requests are directed to the next available region as per the read preference behavior.
8686

8787
The following snippet from the sample application shows how to configure NEAREST Read Preference in NodeJS:

0 commit comments

Comments
 (0)