Region Groups
Region Groups is a new Fauna infrastructure that addresses data locality concerns:
-
Region Groups provide control over where your data resides: each database, its storage, and its compute services exist in a specific geographic region. The capability makes it possible to comply with data locality legislation, such as the General Data Protection Regulation (GDPR) in Europe, while benefiting from Fauna’s distributed service features.
-
The nodes in a Region Group are physically located (relatively speaking) close together, which reduces the round-trip time to acknowledge consistent writes (compared to global replication), improving performance for many workloads.
Features
-
Region Group selection exists at the database level. You can create as many databases as you need in any Region Group.
-
When a database is in a Region Group, it is fully isolated from other Region Groups, and is never replicated to other Region Groups.
Limitations
-
A database and all of its contents, including child databases, can only exist in a single Region Group.
-
Fauna provides no mechanism to transfer a database from one Region Group to another. You could implement your own logic to export the documents from one database and import those documents into another.
Locations
Currently, Fauna offers three Region Groups:
-
United States
-
Europe
-
Classic (both Europe and United States)
Pricing varies by region. Please see Pricing for details. |
Additional Region Groups may be added in the future. If you want to request a region, please contact us.
Replica distribution
-
United States: three replicas in the United States
-
Europe: three replicas in Europe
-
Classic: two replicas in the United States, one replica in Europe
Pre-existing databases
All Fauna databases which were created before the introduction of Region Groups are in the Classic Region Group by default.
How to use Region Groups
-
Log in to the Fauna Dashboard
-
Create a new database:
-
Specify a name for your database.
-
Select a Region Group to contain your database.
-
Optional: check the Pre-populate with demo data checkbox to create some data within the database.
-
Click SAVE.
-
-
Click HOME to view the overview of your databases:
Notice that the database summary includes a Region Group column.
-
Update your client applications to use region-specific connection details.
Dashboard Connection domain
GraphQL API US region group
db.us.fauna.com
graphql.us.fauna.com
EU region group
db.eu.fauna.com
graphql.eu.fauna.com
Classic region group
db.fauna.com
graphql.fauna.com
Preview
db.fauna-preview.com
graphql.fauna-preview.com
The Preview environment is where Fauna provides early access new to features. It is accessible by invitation only. Contact product@fauna.com for an invitation. See Connections for guidance on client application connections.
-
Run your client applications!
Feedback
If you are using Region Groups and would like to provide feedback to Fauna, please support@fauna.com.
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!