clockworklabs

    clockworklabs/SpacetimeDB

    Development at the speed of light

    25.5K stars
    1.1K forks
    89 GitHub watchers
    Updated Nov 10, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 130 contributors on GitHub.

    The biggest single-day gain in the last year, +557 stars on Feb 27, coincided with release v2.0.2.

    Use Cases & Benefits

    • Provides a high-performance relational database that integrates application logic directly via Rust modules executed inside the database.
    • Eliminates the need for separate backend servers by combining database and server logic, reducing infrastructure complexity and latency.
    • Use for building real-time MMORPG backends where game state and logic run entirely within the database for minimal latency.
    • Use for developing chat or collaboration tools that require fast, in-memory state management with persistent recovery.
    • Use for creating web applications that benefit from a unified Rust codebase handling both data storage and business logic.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Other

    GitHub could not identify this license; read the LICENSE file before depending on it.

    Community files

    • README: present

    Watch-outs

    • License not identified by GitHub; read the LICENSE file before depending on it.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    You can think of SpacetimeDB as both a database and server combined into one.

    It is a relational database system that lets you upload your application logic directly into the database by way of fancy stored procedures called "modules."

    Instead of deploying a web or game server that sits in between your clients and your database, your clients connect directly to the database and execute your application logic inside the database itself. You can write all of your permission and authorization logic right inside your module just as you would in a normal server.

    This means that you can write your entire application in a single language, Rust, and deploy it as a single binary. No more microservices, no more containers, no more Kubernetes, no more Docker, no more VMs, no more DevOps, no more infrastructure, no more ops, no more servers.

    SpacetimeDB application architecture (elements in white are provided by SpacetimeDB)

    It's actually similar to the idea of smart contracts, except that SpacetimeDB is a database, has nothing to do with blockchain, and is orders of magnitude faster than any smart contract system.

    So fast, in fact, that the entire backend of our MMORPG BitCraft Online is just a SpacetimeDB module. We don't have any other servers or services running, which means that everything in the game, all of the chat messages, items, resources, terrain, and even the locations of the players are stored and processed by the database before being synchronized out to all of the clients in real-time.

    Excerpt from the clockworklabs/SpacetimeDB README on GitHub (NOASSERTION license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 20: +3Aug 27: +2Sep 6: +5Sep 12: +1Sep 16: +20Sep 17: +6

    +520 stars over 84 days across 15 snapshot days; best day +20 on Sep 16.

    Forks

    1.1K+78

    Open issues

    961+126

    Compared with peers in Database

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    clockworklabs/SpacetimeDB compared with Database repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem115.8K+4.7K75today
    gitroomhq/postiz-app41.3K+4827517 days ago
    etcd-io/etcd52.7K+2877519 days ago
    VictoriaMetrics/VictoriaMetrics18.1K+70751 day ago
    strelov1/freehire3.5K-4845today
    clockworklabs/SpacetimeDB25.5K—75today
    Category median41.3K+28775—

    Discover Repositories

    Search across tracked repositories by name or description