Eventual Consistency
23/32
How MongoDB replication works
•
Read Preference (except
RP_PRIMARY
)
•
Driver will always send writes to primary
•
Driver will send read requests to secondaries
•
Options to prefer primary, secondary, or nearest
•
Warning!
•
Secondaries may be out of date
•
Failover may happen while you're trying to write