macrostack
Browse

The AI stack

Categories

Local & Sovereign AINotes & KnowledgeObservability & MonitoringPassword ManagersWeb AnalyticsTeam ChatSmart HomeNetworking & RoutersVideo ConferencingCloud Storage & SyncPhotos & MediaAPI DevelopmentImage EditingWorkflow Automation & iPaaSDeveloper Tools & ContainersOffice & Productivity SuitesNo-Code DatabasesCode Hosting & Git ForgesProject ManagementEmail Marketing & NewslettersScheduling & BookingError Tracking & Exception MonitoringLog Management & SIEMVPN & PrivacyEmail & Secure MailVector Databases & AI SearchLLM & Agent FrameworksDomains & Web HostingData Removal & PrivacyAuthentication & IdentityHelp Desk & Customer SupportCloud & VPSKubernetes & Container PlatformsEmbedding ModelsPDF & DocumentsAI Coding AssistantsAI Voice & SpeechLLM Observability & EvaluationLLM Gateways & RoutingCloud GPU & AI ComputeCI/CD & build automationData & pipeline orchestrationModel serving & inferenceAI agent frameworksBackend as a serviceSecrets managementFeature flags & experimentationProduct analyticsSearch infrastructureUptime & status monitoringAffiliate & partner platformsVisitor identification & personalisationWikis & internal docsIdentity & access managementData warehouses & analytics enginesCustomer data platformsCRMObject storageBI & dashboardsE-signatureWhiteboards & diagrammingIn-memory data stores & cachingPlatform as a serviceTransactional & bulk emailHeadless CMSDesign & prototypingE-commerce platformsInternal tools & admin panelsManaged databasesForms & surveysFine-Tuning & Model TrainingRAG & Retrieval PlatformsLLM Evaluation & TestingAI Guardrails & Content SafetySpeech Recognition & TranscriptionExperiment Tracking & ML OpsDocument AI & OCR

About

How we rank & score
Head-to-head · Managed databases

MongoDB Community (self-hosted) vs SurrealDB

Both are alternatives to MongoDB Atlas. Here's how they stack up — verified facts, no spin.

Also searched as SurrealDB vs MongoDB Community (self-hosted) — same comparison, one verdict.

70

MongoDB Community (self-hosted)

The same database, on your own servers, for the price of the servers.

SOURCE-AVAILABLESSPL (source-available, not OSI open source)SELF-HOSTLOCAL-FIRST

The most overlooked option: run MongoDB yourself. It is the identical database engine, free of charge, and for the overwhelming majority of users the SSPL restriction is irrelevant — it only bites if you offer MongoDB itself as a service to third parties. Read the licence against your own situation rather than the argument about it. What you give up is Atlas: no managed backups, no automatic failover configuration, no Atlas Search, and you own upgrades and monitoring. What you keep is every query and every driver, unchanged.

68

SurrealDB

Documents, graph and relational in one engine — but check the licence.

SOURCE-AVAILABLEBSL 1.1 (source-available, converts to Apache-2.0 over time)SELF-HOSTLOCAL-FIRST

SurrealDB is a Rust multi-model database combining document, graph and relational access through a single SQL-like language, with real-time queries and permissions built in. It is genuinely interesting engineering and around 32.8k stars. One correction that matters and that most listings get wrong: the core is licensed under the Business Source License 1.1, not an open-source licence. BSL restricts offering it as a competing service and converts to Apache-2.0 after a set period. For internal use that is usually fine; for anyone building a product on top, read it first.

Side by side

 MongoDB Community (self-hosted)SurrealDB
Sovereignty Score7068
Open sourceNoNo
Self-hostableYesYes
Local-firstYesYes
LicenseSSPL (source-available, not OSI open source)BSL 1.1 (source-available, converts to Apache-2.0 over time)
PricingFree to download and run. You pay for servers and the people who operate them.Free to self-host under BSL terms. Managed cloud is paid.
The verdict

MongoDB Community (self-hosted) edges it on the Sovereignty Score, but the right pick depends on the trade-offs below.

MongoDB Community (self-hosted)

Strengths

  • +Identical engine — zero application changes
  • +No cluster bill; a modest server handles a lot
  • +Full control over version, configuration and data location
  • +SSPL restrictions do not apply to ordinary internal use

Trade-offs

  • SSPL is not OSI-approved open source, and that matters to some procurement teams
  • You own replica sets, failover, backups and upgrades
  • No Atlas Search, Vector Search or Triggers
  • Operating MongoDB well across zones is a genuine specialism

SurrealDB

Strengths

  • +Document, graph and relational in a single engine — genuinely rare
  • +Real-time queries and row-level permissions built in
  • +Rust, fast, and can embed directly in an application
  • +Converts to Apache-2.0 on a published schedule

Trade-offs

  • BSL 1.1 is NOT open source, despite how it is usually listed
  • Young relative to Postgres or MongoDB
  • Smaller ecosystem and fewer battle-tested deployments
  • Multi-model flexibility is also more ways to model something badly
See all 5 MongoDB Atlas alternatives →

Related alternative guides

Facts verified 2026-08-07. Licenses and pricing change — spotted something out of date? That's a correction we want.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.