Alternatives / Fauna

5 open-source alternatives

5 Best Open Source Fauna Alternatives in 2026

Looking for an open source Fauna alternative? We compared 5 open source databases and backend platforms by license, scaling, real-time features, and maintenance. Supabase and TiDB are SQL options, while Convex and Instant are reactive databases for real-time apps.

Maxime DERAME's profile

Written by Maxime DERAME

Last updated:

Best Fauna alternatives at a glance

AlternativeBest forLicense
SupabasePostgres backend with auth and realtimeApache-2.0
TiDBMySQL-compatible distributed SQLApache-2.0
ConvexReactive TypeScript backendFSL-1.1-Apache-2.0 (source available)
InstantOffline-capable real-time databaseApache-2.0
OceanBaseDistributed MySQL/Oracle-compatible databaseApache-2.0

How we chose these Fauna alternatives

We looked for open-source databases and backends that can replace a serverless, globally distributed database like Fauna. We verified each project's license, recent activity, stars, and self-hosting in its repository. See our methodology for the full criteria.

Closest to Fauna

Convex is a reactive database where backend code is written in TypeScript, with real-time sync, built-in auth, and cron jobs. Instant is a database for real-time, offline-capable apps with optimistic updates and multiplayer features.

SQL options

Supabase is a Postgres-based backend with auth, auto-generated APIs, realtime, storage, and edge functions. TiDB is a distributed MySQL-compatible database with horizontal scaling, and OceanBase is a distributed relational database with MySQL and Oracle compatibility.

Important: Convex license

Convex uses the Functional Source License (FSL-1.1-Apache-2.0), which is source available and converts to Apache-2.0 later, so it is not OSI open source today.

License details

Supabase, TiDB, Instant, and OceanBase are Apache-2.0. Convex is FSL-1.1-Apache-2.0.

Maintenance status

All five had commits within days or weeks of this update.

Why look for a Fauna alternative?

Fauna announced the shutdown of its service in 2025, so teams had to move their data and queries elsewhere. The alternatives here use standard SQL or documented reactive APIs and can be self-hosted, which lowers the risk of losing a vendor-specific service.

supabase.com
1

Supabase

Open-source Postgres development platform.

Supabase is an open-source backend platform built on Postgres, with authentication, auto-generated REST and GraphQL APIs, realtime subscriptions, file storage, edge functions, and vector search, and a dashboard for managing it all. It is Apache-2.0 and can be self-hosted with Docker, with the hosted Supabase platform offered as a paid service.

111.6K17KApache-2.0Self-hosted

Pricing: Free self-hosted; hosted plans have a free tier and paid plans.

  • Postgres with auth, storage, realtime, and edge functions
  • Very large community and ecosystem
  • Self-hosting with Docker
  • Requires SQL and Postgres knowledge
  • Self-hosting the full stack takes infrastructure work
tidb.io
2

TiDB

Distributed SQL database for transactional and analytical workloads.

TiDB is a distributed SQL database combining OLTP and OLAP with horizontal scalability, high availability, strong consistency, MySQL compatibility, and a cloud-native architecture, for large-scale e-commerce, financial services, and IoT data.

40.6K6.3KApache-2.0Self-hosted

Pricing: Free open source; managed TiDB Cloud is paid.

  • Horizontal scalability with strong consistency
  • MySQL compatibility
  • Combined transactional and analytical processing
  • Relational model, so migrating from MongoDB needs remodeling
  • More complex to operate than a single node database
convex.dev
3

Convex

Reactive database and backend for app developers.

Convex is a reactive database and backend where queries and server functions are written in TypeScript and clients stay in sync automatically, with built-in authentication integrations, scheduled functions, file storage, and vector search. The backend is source available under the Functional Source License (FSL-1.1-Apache-2.0), which converts to Apache-2.0 after two years, and it can be self-hosted with a dashboard and CLI.

12.7K837FSL-1.1-Apache-2.0 (source available)Self-hosted

Pricing: Free self-hosted; Convex Cloud has a free tier and paid plans.

  • TypeScript-first reactive queries that sync in real time
  • Self-hosting with the dashboard and CLI
  • Functions, cron jobs, storage, and vector search
  • Source available (FSL), not standard open source
  • Proprietary data model that is harder to migrate away from than SQL
instantdb.com
4

Instant

Realtime backend for multiplayer and collaborative applications.

Instant is an Apache-2.0 realtime backend with a reactive database, authentication, permissions, file storage, presence, streams, offline caching, optimistic updates, and relational queries.

10.5K418Apache-2.0Self-hosted

Pricing: Free and self-hostable under Apache-2.0; hosted services may be paid.

  • Realtime by default
  • Auth, permissions, storage, presence, and offline caching
  • Strong multiplayer model
  • Different data model from PostgreSQL
  • Younger ecosystem
  • Less suitable for traditional SQL-heavy apps
en.oceanbase.com
5

OceanBase

Distributed relational database for massive scale.

OceanBase is a distributed relational database supporting OLTP, OLAP, and hybrid workloads with Multi-Paxos consensus, petabyte scalability, MySQL and Oracle protocol compatibility, real-time analytics, and multi-tenancy.

10.3K1.9KApache-2.0Self-hosted

Pricing: Free open source; commercial editions and cloud are paid.

  • Petabyte scalability with high availability
  • MySQL and Oracle compatibility
  • Apache-2.0 license
  • Complex deployment for small teams
  • Relational model, so migrating from MongoDB needs remodeling

Compare Fauna alternatives

AlternativeTypeLicenseSelf-hostedBest for
SupabaseBackend platformApache-2.0YesFull backends
TiDBDistributed SQLApache-2.0YesHorizontal scaling
ConvexReactive databaseFSL-1.1-Apache-2.0YesReal-time apps
InstantBackend platformApache-2.0YesCollaborative apps
OceanBaseDistributed SQLApache-2.0YesLarge OLTP and OLAP

Which one should you choose?

Want reactive queries in TypeScript

Convex gives real-time sync and TypeScript backend functions, under a source-available license.

Convex

Want a standard SQL backend

Supabase adds auth, APIs, realtime, and storage to Postgres.

Supabase

Want collaborative offline-first apps

Instant has optimistic updates, offline mode, and multiplayer features.

Instant

Want horizontal scaling with MySQL

TiDB scales out and stays MySQL compatible.

TiDB