#55th of 9 in Backends and databases

spacetimedb

Relational database that runs your app logic as modules and syncs clients live

Stars
25.3k
License
custom license
Last commit
Oct 2026
Last release
Oct 2026
Language
Rust
Stars, last 29 weeks+1,451
25 Mar 2026: 23,844 stars1 Apr 2026: 23,978 stars8 Apr 2026: 24,095 stars15 Apr 2026: 24,187 stars22 Apr 2026: 24,258 stars29 Apr 2026: 24,304 stars6 May 2026: 24,340 stars13 May 2026: 24,370 stars20 May 2026: 24,432 stars27 May 2026: 24,463 stars3 Jun 2026: 24,487 stars10 Jun 2026: 24,512 stars17 Jun 2026: 24,545 stars24 Jun 2026: 24,568 stars1 Jul 2026: 24,602 stars8 Jul 2026: 24,623 stars15 Jul 2026: 24,648 stars22 Jul 2026: 24,679 stars29 Jul 2026: 24,776 stars5 Aug 2026: 24,857 stars12 Aug 2026: 24,893 stars19 Aug 2026: 24,924 stars26 Aug 2026: 24,997 stars2 Sept 2026: 25,019 stars9 Sept 2026: 25,073 stars16 Sept 2026: 25,155 stars23 Sept 2026: 25,202 stars30 Sept 2026: 25,220 stars7 Oct 2026: 25,251 stars14 Oct 2026: 25,295 stars

23,844 on 25 Mar 202625,295 on 14 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

SpacetimeDB is a relational database that doubles as the application server. You write tables and reducers as a module in Rust, C#, TypeScript or C++, upload it, and clients connect directly, subscribe to tables and receive committed changes automatically. State is held in memory with an on-disk commit log for durability, and reducers run as ACID transactions.

Who it is for: Developers building realtime web apps or multiplayer games, no separate server

Strengths

  • Replaces the API server and pub/sub layer: clients subscribe to tables and get pushed updates
  • Module languages: Rust, C#, TypeScript, C++; client SDKs include React hooks, Unity and Unreal
  • Reducers are ACID transactions; confirmed reads wait for commit log durability by default
  • Used for the full backend of the MMORPG BitCraft Online

Weaknesses

  • BSL 1.1 license, converting to AGPL v3.0 with linking exception after a few years
  • Aimed at low-latency transactional workloads, not batch or analytical queries
  • Application logic lives inside the database, tying the app to its module model
  • RAM requirements are unknown, though all application state is held in memory

What it needs

  • no GPU
  • Docker + Compose
  • port 3000

Also in Backends and databases

See all 9
Also in Backends and databases
RankProjectScore
1appwriteSelf-hostable backend with auth, databases, storage, functions, messaging and hosting Live demo ↗ (opens in a new tab)57.7k starsBSD-3-Clause93 out of 100
2supabasePostgres backend with auth, storage, realtime and edge functions111.6k starsApache-2.073 out of 100
3parse-serverNode.js backend with REST and GraphQL APIs on MongoDB or PostgreSQL21.4k starsApache-2.067 out of 100
#4graphql-engineGraphQL API layer over Postgres, MongoDB, ClickHouse and SQL Server32.1k starsApache-2.065 out of 100
#6insforgePostgres-based backend platform that coding agents operate through an MCP server13.1k starsApache-2.065 out of 100