cloudparts

FaunaArchived

A serverless, globally replicated document database with strictly serializable transactions and its own query language, FQL; the service shut down in May 2025.

Type
Commercial product
Made by
Fauna, Inc.
License
Proprietary service; the released source is Apache 2.0
Status
Archived since 30 May 2025
Facts checked
24 October 2026

What it is

Fauna was sold as an API rather than as servers: you created databases in a web console and sent queries over HTTPS, and Fauna, Inc. ran the replicas in several regions. Data was JSON-like documents in collections, with schema added gradually, references between documents in different collections, and joins and projections in FQL, a query language that in its last version looked like TypeScript and could be statically typed. Schema, indexes, roles and user-defined functions were written as code in Fauna Schema Language (FSL). Databases could contain child databases, which teams used to keep tenants or staging and production apart. Built-in authentication with role- and attribute-based access let browsers and phones query it directly.

Every query was a transaction. Read-write queries were strictly serializable and read-only ones serializable, across regions, without relying on synchronized clocks. The protocol followed Calvin, a research system published at SIGMOD in 2012: a coordinator ran the transaction speculatively at a recent snapshot and buffered its writes, the transaction was then appended to a replicated log, which was the only step that needed consensus, and each replica re-checked the reads at that log position, committing the writes if nothing had changed or aborting and retrying if it had. Event streams and event feeds pushed or pulled changes to collections or single documents.

In March 2025 the company announced it would close the service, and it shut down on 30 May 2025; data not exported by then was deleted. It promised an open-source version of the core database, and in April 2025 published it as the fauna/faunadb repository under Apache 2.0, a Scala and JVM codebase built with sbt, together with its existing drivers and CLI. The FaunaDB site describes the project as at a very early stage with no official releases, and the repository has not changed since May 2025.

Why teams pick it

  • Strictly serializable transactions across regions, without clock synchronisation
  • Documents with optional schema, plus references, joins and typed queries in FQL
  • No servers or capacity to manage, and per-tenant child databases
  • Built-in authentication and fine-grained access, so client apps could query it directly

Watch out for

  • The hosted service no longer exists, and data left in it was deleted on 30 May 2025
  • The open-source release has no official builds, and nobody has committed to it since May 2025
  • FQL and FSL are Fauna’s own languages, so moving an app off it means rewriting its queries
  • Every write in a global database waited for the replicated log, which added cross-region latency to each write

Alternatives, recommended first

What all document databases have in common →Compare side by side →

See it in a real stack

No architecture uses Fauna yet. Drop it into the playground and wire it up yourself.Open playground →
Where it came from2012–2025

Evan Weaver joined Twitter in 2008 as a backend engineer and, with Matt Freels, worked on its data infrastructure, where the team built custom distributed data services because no database met its scale. They founded Fauna in 2012, first as a consultancy. Its transaction protocol was modelled on Calvin, a 2012 research design that agrees on a global order of transactions in a replicated log first and then executes them on every replica, instead of ordering them by synchronised clocks as Google’s Spanner does.

Fauna came out of stealth in September 2016 with a managed beta of an operational database that was relational but not SQL, queried through type-safe embedded languages. Abadi co-wrote articles on its consistency model, and in 2019 the company published Jepsen test results. It raised $27 million in 2020, and over $60 million in total; Weaver stepped back in 2022. In 2023 Fauna introduced a new version of FQL with TypeScript-like syntax.

On 19 March 2025 Fauna announced it would sunset the service over the following months, as it could not raise the capital needed to build a global database business, and promised to release its core technology as open source. The service ended on 30 May 2025.

Why it’s built this way

Calvin’s ordered log instead of clock-based transactions
Fixing the order of transactions in a replicated log means replicas apply them in the same order and reach the same result, so strict serializability across regions needs no atomic clocks like Spanner’s.
A database sold only as an API
With no servers to size or operate, it fit serverless functions and front-end apps that call the database over HTTPS with per-user tokens.
Documents with relational features
Documents gave flexible shapes, while references, joins, indexes and enforced schema kept the guarantees of a relational database.

Timeline

  1. 2012

    Evan Weaver and Matt Freels, both ex-Twitter, found Fauna as a consultancy

  2. 2016

    Fauna leaves stealth with a managed beta

  3. 2018

    Publishes its Calvin-based distributed transaction protocol

  4. 2019

    Official Jepsen test results are published

  5. 2020

    Raises $27 million

  6. 2023

    Introduces the new, TypeScript-like FQL

  7. 2025

    Service shuts down on 30 May; core database published under Apache 2.0

Sources5 · facts checked 24 October 2026

Improve this page on GitHub