Database

SpacetimeDB - Database with a built-in server runtime

databaseself-hostedreal-timechat

Real-time apps often mean running a database and a separate service that keeps everyone in sync. SpacetimeDB folds those roles together: clients connect directly, while server-side modules run inside the database and publish changes to subscribers. That model is especially handy for multiplayer games, chat, and collaborative tools where state changes need to reach many screens quickly. It is a different mental model from a typical REST backend, so small prototypes are the best way to learn it. Once the module pattern clicks, the architecture feels refreshingly short. A short trial with one real task is the quickest way to see whether it fits your setup.

Links

Alternatives

  • Supabase: Open-source backend with Postgres, auth, and realtime subscriptions.
  • Firebase: Commercial backend suite with a free tier and managed realtime data.
  • PocketBase: Compact backend with SQLite, auth, and live subscriptions.
  • SurrealDB: Multi-model database with a commercial cloud option.