|
|
|
|
|
by zenithm
3299 days ago
|
|
CosmosDB lets you set region failover priority if something goes wrong, does Fauna have a similar model? How does an application know which region to talk to? Especially once you can select a subset of regions to be in. Some might not have the data you are looking for. |
|
You don't have to set any priorities, and partition events don't change commit latency for the cluster majority.
Currently FaunaDB drivers use geo DNS in route53 to automatically find the closest region, although you can pin to specific regions if you know the cname. If that region doesn't own the data for the logical database in question, FaunaDB forwards the request internally.
In the future, drivers will maintain their own ϕ accrual failure detectors and make faster and smarter routing decisions than DNS can provide.