Fauna docs

Fauna is a distributed document-relational database service. Fauna combines the flexibility of JSON-like documents with the power of a relational, ACID-compliant database.

Why choose Fauna?

Fauna includes several features to make building secure, scalable applications easier:

  • Serverless infrastructure: Fauna databases are fully managed and scale automatically. No sharding. No capacity planning. No infrastructure maintenance.

  • Global distribution: Automatic data replication ensures high availability and low latency. Distribute replicas globally or across a geographic region you choose.

  • Built-in multi-tenancy: Instantly create logically isolated child databases for each tenant. No warm-ups or provisioning delays. Manage all tenants from a single parent database.

  • Zero-downtime schema migrations: Make changes to your production databases without downtime. Backfills and built-in migration safeguards ensure your data stays consistent.

  • Attribute-based access control (ABAC): Grant granular permissions, down to the document level, at query time based on conditions you define.

  • User-defined functions (UDFs): Store compute with your data. Like SQL’s stored procedures, UDFs encapsulate application logic and complex queries as reusable server-side functions.

  • Computed fields: Dynamically calculate field values at query time for aggregations, transformations, and filtering.

  • Strong consistency and reliability: Always work with the latest data, even across regions.

Get a high-level overview of Fauna and its key features.

Create a Fauna database and starting running FQL queries.

Learn how to use Fauna through a production-ready sample application.

Build solutions with Fauna following best practices.

Official drivers

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!