clockworklabs/SpacetimeDB
Development at the speed of light
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
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.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+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
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| thedotmack/claude-mem | 115.8K | +4.7K | 75 | today |
| gitroomhq/postiz-app | 41.3K | +482 | 75 | 17 days ago |
| etcd-io/etcd | 52.7K | +287 | 75 | 19 days ago |
| VictoriaMetrics/VictoriaMetrics | 18.1K | +70 | 75 | 1 day ago |
| strelov1/freehire | 3.5K | -48 | 45 | today |
| clockworklabs/SpacetimeDB | 25.5K | — | 75 | today |
| Category median | 41.3K | +287 | 75 | — |
Discover Repositories
Search across tracked repositories by name or description