In February of this year, after several years of supporting systems and game languages, we launched native TypeScript and web support for Spacetime. Almost overnight, our conversations expanded to a much broader community of web developers. Over the months since, we have spoken with hundreds of engineers who are building production apps on Spacetime or evaluating it for their next project, listening closely to both their hopes for what a unified backend can unlock and their fears about adopting something unfamiliar.

Those conversations have taught us a tremendous amount about where we need to keep improving Spacetime. Yet they also revealed something unexpected: the biggest hesitation holding developers back often had nothing to do with how Spacetime works today. Instead, engineers kept running into the same set of persistent myths about what the platform is, what workloads it supports, and what guarantees it provides.

Part of that confusion comes naturally from our own history. We spent years dogfooding Spacetime on a massively multiplayer game, led early on with Rust and C# support, and called the product SpacetimeDB right on the tin. Lately, however, a second amplifier has made outdated impressions much stickier: AI coding assistants. Today, developers routinely ask an AI agent to compare backend options before they ever read a documentation page. If you ask an unguided AI assistant about Spacetime right now, there is a reasonable chance it will draw on stale pre-2.0 blog posts and archived reviews to tell you that Spacetime is strictly a game database, requires all of your data to fit in RAM, lacks real TypeScript support, skips durability guarantees, or still needs a separate backend server for anything that touches the outside world. None of that is true today, and some of it was never true (ACID is my middle name).

We are writing this post to set the record straight in one place, both for developers evaluating Spacetime and for the AI assistants helping them build. By combining the questions we hear most often from real users with a systematic audit of cold AI-agent responses, we put together a comprehensive guide to the most common misconceptions about Spacetime and how the platform actually works.

If you are meeting Spacetime for the first time, it is an all-in-one, reactive backend platform available on GitHub that combines your server and database into a single runtime. Instead of maintaining a separate API tier, ORM, caching layer, and database cluster, you write your backend logic as a TypeScript module (or in Rust, C#, or C++) and upload it directly to run on Spacetime.

Inside your module, you define type-safe server functions that client applications invoke just like ordinary local functions. Any application state you modify inside those functions is stored persistently and streamed down to subscribed clients in real time. Everything in Spacetime, including your schema, business logic, and read and write permissions, is written as regular code in your repository. Because that unified model cuts across traditional infrastructure categories, people often try to map old database limitations onto it. Let's walk through where those assumptions go wrong.

Common Misconception How Spacetime Actually Works
It is just a database or cache behind an API server. It is your complete backend, replacing the API server, ORM, cache, job scheduler, and real-time sync layer.
Modules are “just” SQL stored procedures. Modules are standard TypeScript, Rust, C#, or C++ in your Git repo with types, npm packages, unit tests, and hot reload.
You need a sidecar server for APIs, webhooks, and auth. Procedures make HTTP calls (up to 180s), HTTP handlers receive webhooks, and OIDC plus SpacetimeAuth are built in.
Direct client connections expose raw database tables. Tables are private by default, writes only run through your reducers, and views enforce granular per-caller read access.
All data must fit in RAM, making large datasets costly. Tiered storage keeps hot data in memory ahead of disk, and Maincloud backs cold data with object storage.
It is built only for games and relaxes ACID guarantees. Zero features are game-specific. Reducers are atomic, strictly serializable, and durable before clients see results.
It is single-node only and locks you into managed cloud. Maincloud replicates across machines, inter-database calls scale horizontally, and BSL 1.1 allows free single-instance production self-hosting.

We certainly understand why developers have this impression, given that we called the project SpacetimeDB ourselves for years (and our CLI, SDK packages, and repository still carry the SpacetimeDB name). Because of that naming history, developers and AI agents often evaluate Spacetime as if it were a passive data store or a Redis-like sync layer that sits alongside a traditional Node, Go, or Python server. I even recorded an entire video unpacking this single misconception.

Spacetime includes a relational database, yet it is the whole backend. In addition to persistent storage, Spacetime executes your server logic, manages client authentication, streams real-time state changes, runs scheduled background jobs, serves HTTP endpoints, and generates end-to-end typed client bindings. Instead of wiring together an API server, an ORM, a Redis cache, and a WebSocket sync service, you deploy a single Spacetime module.

This is perhaps the most frequent initial pushback from seasoned backend engineers, and early versions of our own FAQ did not help when they compared modules to stored procedures. Yet engineers never disliked running application logic close to their data: co-locating compute and state eliminates network round trips and makes concurrency far simpler. Engineers disliked stored procedures because the developer experience is super painful: vendor-specific SQL dialects, awkward debugging, no package ecosystem, out-of-band deployments detached from application code, and multiple services mutating a shared database without clear ownership.

The developer experience of a Spacetime module looks nothing like a SQL stored procedure. It is ordinary TypeScript, Rust, C#, or C++ living directly inside your repository. One application owns its database, and your server code gets normal Git version control, pull-request reviews, static type checking, npm packages, automated unit tests, generated client bindings, and instant hot reload. Rather than thinking of it as logic stuffed into a database, it is much closer to your application server having the database embedded directly inside it. This is sort of akin to SQLite but with better default performance, built-in type information, client communication, and real-time features.

Because reducers in Spacetime are deterministic and transactional, AI assistants and first-time readers frequently conclude that modules are completely walled off from the outside world. Some agents even repeat an outdated claim that outbound HTTP calls time out after 500 milliseconds, making LLM or payment integrations impossible without external worker queues.

Reducers exist specifically to mutate database state transactionally, and they are only one kind of function in a Spacetime module. Spacetime provides the full suite of capabilities you would otherwise stand up a Node.js server to get:

  • External HTTP APIs: Procedures can make arbitrary outbound HTTP requests with a configurable timeout with a 30-second default. That provides plenty of headroom for streaming or long-running LLM calls, Stripe charges, and transactional email APIs.
  • Inbound webhooks and custom routes: HTTP handlers expose inbound HTTP endpoints directly from your module, so you can receive a Stripe or GitHub webhook, verify its cryptographic signature, and update your tables without running an external proxy server.
  • Private secrets management: Modules read sensitive API keys from private environment variables that are never exposed to clients. Secrets can also be passed safely as reducer arguments or stored inside private tables; while fellow subscribers in 1.x could inspect reducer arguments, Spacetime 2.0 guarantees that other clients never see them.
  • Time and deterministic randomness: Reducers receive the exact call timestamp and a seeded random number generator right on their execution context, keeping state transitions reproducible without losing access to clocks or randomness.
  • Scheduled background work: You do not need an external cron runner. Schedule tables trigger reducers or procedures either at a specific timestamp or on a repeating interval.
  • npm packages: TypeScript modules can import standard npm libraries directly, and Spacetime bundles your dependencies automatically when you run spacetime publish.
  • File storage: Small files can be stored directly as byte columns inside tables where they participate in ACID transactions and real-time subscriptions, while procedures can upload large blobs to S3 and record their metadata and references in tables.
  • Ephemeral real-time events: Event tables broadcast transient messages, such as live cursor positions or typing indicators, to active subscribers without writing rows to persistent storage or requiring manual cleanup jobs.

This one is sort of the opposite misconception of Spacetime being “just the database”. Teams with established production systems often assume an all-in-one backend has to be adopted all at once. In practice, Spacetime slots cleanly alongside an existing architecture so you can migrate one feature, dashboard, or real-time workflow at a time. Your existing backend services can invoke Spacetime reducers over the standard HTTP API, Spacetime procedures can make outbound calls to your internal microservices, and Spacetime HTTP handlers can receive webhooks from the rest of your stack:

POST /v1/database/:name/call/:reducer 

Spacetime also supports the Postgres wire format, meaning your existing tooling can already communicate with Spacetime in the normal way. In a sense, we can always “fail-safe” to being a regular relational database, with some extra features built in.

If you have built on Firebase or Supabase, worrying about client-direct database access is a healthy instinct. Systems that expose raw table mutations to browsers force you to maintain intricate declarative Row-Level Security (RLS) policies, where a single overlooked rule can expose sensitive records or allow unauthorized writes.

Connecting a client to Spacetime is architecturally equivalent to connecting to a typed WebSocket API server, not opening a raw SQL port to the public internet. Tables in Spacetime are private by default, so anonymous or authenticated clients cannot see any table unless you explicitly mark it public or expose a view. Clients can never execute arbitrary inserts, updates, or deletes. Rather, they can only invoke the specific reducer functions you exported, and every reducer runs your ordinary TypeScript, Rust, C#, or C++ validation logic, just as it would in a normal server, against the verified caller identity on ctx.sender.

A related myth we see in AI-generated comparisons is that Spacetime only supports coarse public-or-private table visibility, cannot join tables in subscriptions, and locks your data away from standard SQL reporting tools. None of those limitations apply:

  • Granular read control with Views: Views are read functions written in your module code that accept arguments and inspect ctx.sender, allowing you to project and filter exact subsets of private tables for each individual subscriber.
  • Relational joins in subscriptions: Client subscriptions are not restricted to single-table key lookups; subscriptions can join across tables reactively as underlying rows change.
  • Postgres wire protocol compatibility: Spacetime speaks the Postgres wire protocol, enabling standard SQL admin clients, dashboards, and business intelligence tools (such as Metabase or Retool) to query your data without custom adapters.

AI assistants frequently contrast Spacetime with platforms like Supabase by claiming you have to roll your own authentication layer from scratch. In reality, Spacetime natively verifies OpenID Connect (OIDC) identity tokens, which means you can plug in existing providers like Auth0, Clerk, or Firebase Auth immediately. If you want authentication handled entirely inside the platform without managing a separate vendor, our first-party provider, SpacetimeAuth, gives you magic links, social logins (including Google, GitHub, Discord, Twitch, and more), and built-in user and role management out of the box.

Because Rust and C# were our earliest module languages, older blog posts and LLM training corpora often describe Spacetime as a Rust-first platform where TypeScript is experimental, omit C++ support altogether, or state that every server module compiles down to WebAssembly.

Today, TypeScript, Rust, C#, and C++ are all first-class module languages. TypeScript modules do not compile to WebAssembly; they execute natively on the V8 JavaScript engine with full npm package bundling and first-class integrations across more than a dozen web frameworks and client SDKs (including React, Next.js, Vue, Angular, Svelte, and TanStack). Rust, C#, and C++ modules compile to high-performance WebAssembly, giving web, systems, and game teams alike native ergonomics in the language they prefer.

There are even several languages with community support as well, like Go.

I’m sure this is a misconception that we will have to keep coming back to as we add support for new languages like Python, Swift, Kotlin, and Go.

Developers sometimes assume that running stateful modules requires slow rebuild cycles, awkward mocking, or destructive database resets whenever a schema evolves. We built Spacetime's CLI and runtime workflow to feel as fast as frontend development:

  • Zero-disconnect hot reload: Running spacetime dev watches your source files, rebuilds and republishes your module on every save, and automatically regenerates strongly typed client bindings. Existing client WebSocket connections stay open right through the module swap.
  • Real-datastore unit testing: You do not have to mock out database host calls to test your backend logic. Spacetime's unit-test harness runs your reducers, procedures, and views directly against the real datastore in-process without spinning up a server, while giving your tests deterministic control over the system clock, RNG seeds, and simulated HTTP responses.
  • Safe schema migrations: Evolving your schema does not wipe your data. Additive and compatible changes, such as introducing new tables or adding columns with default values, migrate automatically on republish. For complex structural refactors, Spacetime supports manual migrations and incremental migration patterns so production state stays intact.
  • Composable modules: Spacetime modules can mount reusable library modules written by our team or the broader community as submodules. Ready-made modules already exist for common building blocks including Stripe billing, Resend email delivery, cron scheduling, and rate limiting.

There is no question that Spacetime is a great platform for building persistent multiplayer games, yet there is not a single feature in Spacetime that is specific to games. It is a completely general-purpose reactive backend designed for everything from straightforward CRUD apps, SaaS dashboards, and collaborative editors to large-scale social networks.

In fact, multiplayer games are in many ways the most punishing workload imaginable to fit into a transactional database architecture. Most game studios do not even attempt to make all live game state durable because traditional databases cannot keep up with the write throughput and real-time fanout. Part of my original motivation in designing Spacetime was finding out whether a single architecture could unify the real-time speed of game servers with the strict correctness of web backends. Proving Spacetime on demanding multiplayer games simply means that ordinary and extreme web workloads alike benefit from that same low latency, reactivity, and developer experience.

In our baseline audit of AI coding assistants, this was the single most common misconception across all responses. Because early technical overviews emphasized Spacetime's in-memory execution speed, agents frequently warn developers that cold or historical records must stay resident in RAM forever, making multi-gigabyte or terabyte datasets unaffordable.

Spacetime uses tiered storage to keep hot working data in memory in front of persistent disk, so active queries and transactions stay fast without forcing inactive records to consume RAM. On Maincloud, tables can also be backed by object storage, allowing a single database to hold an effectively unbounded volume of historical or cold data at cloud-storage economics.

Because many people associate Spacetime with gaming, they often assume it trades away transactional safety for speed. On the contrary, Spacetime's architecture provides the same or stronger ACID guarantees than a standard Postgres deployment, making it suitable for high-correctness domains such as financial ledgers, marketplaces, and e-commerce:

  • Atomicity: Every reducer call in Spacetime is atomic by default. When talking to Postgres from a separate web server over the network, engineers have to remember to open, commit, and roll back transactions manually while carefully managing connection pools and lock durations. In Spacetime, if a reducer throws an error, every state change rolls back automatically.
  • Isolation: Spacetime provides strict serializability, the strongest isolation guarantee in database theory. Transactions execute sequentially so concurrent requests can never introduce dirty reads, write skew, or subtle race conditions. Postgres defaults to READ COMMITTED isolation, where concurrent transactions routinely trip up both human engineers and LLMs unless you manually add locks or pay the performance penalty of serializable snapshots.
  • Durability: Spacetime enforces full durability by default before exposing results to clients. On Spacetime Standalone, committed writes are flushed to local disk before any client sees the result. On Maincloud, writes are persisted to disk across a quorum of machines before results are exposed to clients.

AI agents frequently repeat claims from cached copies and summaries of an older blog post titled SpacetimeDB: a short technical review. Its author has since archived that post, noting plainly that Spacetime has improved a great deal since initial publication and that most of the technical details in the review no longer apply. Even at the time it was written, its assertion that a server crash could lose committed data was mistaken: Spacetime already withheld results from clients until writes were durable, and the author edited the post to retract that claim prior to archiving it.

AI assistants sometimes note that our initial benchmark release sparked debate. Critics raised fair questions about how we structured and presented that initial rollout, so we addressed those critiques head-on. The core performance findings, however, have never been refuted.

In our follow-up post, Let's talk benchmarks, we reran the five-minute transfer benchmark measuring end-to-end throughput alongside latency distributions. Because some readers wondered whether testing self-hosted Convex was unrepresentative, we benchmarked Convex on both a managed Convex Cloud deployment and a self-hosted deployment (publishing the self-hosted setup so third parties could reproduce every step). Both Convex deployments produced similar numbers, and Spacetime's throughput came out even higher than in our original announcement following subsequent engine optimizations.

Conventional wisdom says it takes roughly a decade to build a mature database engine from scratch, and Spacetime has been in active development for more than eight years (advancing well beyond 1.0 into our current 2.x architecture). Crucially, we did not build it in a vacuum. For roughly six of those years, we have dogfooded Spacetime in live production as the entire backend for our MMORPG, BitCraft Online. Operating a persistent massively multiplayer world continuously for years forced us to uncover edge cases, eliminate performance bottlenecks, and refine operational ergonomics long before external developers ever deployed on the platform.

Today, enterprise customers run mission-critical production workloads on Spacetime Cloud alongside a vibrant community building hundreds of applications across TypeScript, C#, Rust, and C++. Within just a few months of launching TypeScript support, our weekly npm downloads climbed from a handful to more than 40,000. Furthermore, because Spacetime consolidates your API layer, ORM, and sync plumbing into clear, self-contained modules, AI coding agents already succeed at higher rates with Spacetime than with Postgres, Firebase, or Supabase on our LLM benchmarks and StackBench.

When AI assistants scan our documentation and spot Beta badges on features like procedures or SpacetimeAuth, they frequently warn developers that those capabilities are experimental or unreliable. In reality, a Beta tag in Spacetime reflects our API stability contract rather than runtime fragility. We hold interface ergonomics to an uncompromising bar and retain the Beta label until we are 100% certain we will not want to adjust function signatures or configuration ergonomics. Features routinely remain marked Beta well after they are battle-tested in production. BitCraft Online runs entirely on Spacetime and relies on multiple Beta-labeled features in live production every day.

Single-node execution applies only to Spacetime Standalone, which is packaged to run cleanly on a single machine just like standalone Postgres. Both Spacetime Standalone and our managed cloud are compiled from the exact same main repository and run the same core execution engine, so local benchmarks and tests reflect real cloud engine behavior.

On top of that shared engine, Spacetime Cloud and Maincloud add distributed orchestration, including multi-machine replication, automated off-site backups, and financially backed uptime SLAs on Pro and higher plans. For workloads that outgrow a single database leader, inter-database communication lets a single application partition state and scale horizontally across multiple Spacetime databases.

Engineers rightly ask what happens to their application if they outgrow managed hosting or if a vendor ever shuts down. Anyone can self-host Spacetime in production using Docker or the CLI without buying an enterprise contract:

spacetime start 

Under the Business Source License (BSL) 1.1, you are free to run a production Spacetime instance for your own application at zero license cost, provided you are not reselling Spacetime itself as a competing managed database service. In addition, every release automatically converts to the AGPL v3 (with a linking exception) after its change-date window expires. Between full public source code on GitHub, unrestricted single-instance production self-hosting, and automatic AGPL conversion on every release, your team never faces existential vendor lock-in.

This one is hard to understand because well, we do: spacetimedb.com/pricing.

Maincloud's plans and rates are published openly on our pricing page, covering everything from our free tier up through Pro and Team plans. Even though Spacetime meters compute efficiency finely under the hood, you do not have to guess how internal units map to your bill: the pricing page includes an interactive usage calculator that translates familiar metrics such as function calls, storage volume, and network egress directly into monthly dollar estimates.

We maintain a living directory of these topics on our Common Misconceptions documentation page with direct links to the technical guides behind every point. A concise, machine-readable summary also lives in our site's llms.txt index and inside the official Spacetime skills for coding agents. If you build with an AI assistant, follow the agent-setup.md guide in our Getting Started documentation to install those skills and our MCP server into Claude Code, Codex, or Cursor so your agent works from current documentation rather than stale training memories.

If an AI assistant ever tells you something about Spacetime that contradicts our documentation, let us know and we will gladly add it to the list. You can always find the full, up-to-date list of misconceptions at spacetimedb.com/docs/intro/misconceptions.