Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Apps
  3. SurrealDB

SurrealDB

NOASSERTIONRustv3.2.4

A scalable, distributed, collaborative, document-graph database for the realtime web, built in Rust.

Visit WebsiteGitHubGitHub
33.0k stars1.4k forks0 contributors

What is SurrealDB?

SurrealDB is a multi-model database built in Rust that unifies document, graph, relational, time-series, geospatial, and key-value data types into a single engine. It combines powerful search and retrieval functionalities with real-time and event-driven capabilities, enabling developers to build data-intensive applications faster and more efficiently. It can function as both a database and an API backend service, simplifying infrastructure and reducing development time.

Target Audience

Developers building data-intensive applications requiring multiple data models, such as real-time apps (e.g., recommendation engines, fraud detection systems), knowledge graphs, AI agent data layers, and embedded/edge systems. It's also suitable for teams wanting to simplify their backend stack by using a single system for database, API, and permissions.

Value Proposition

Developers choose SurrealDB for its native multi-model support in a single engine, eliminating the need to manage multiple specialized databases. Its unique selling point is combining the database, querying layer, and API/authentication into one platform with built-in real-time capabilities and granular access control, allowing direct client connections without custom backend code.

Overview

A scalable, distributed, collaborative, document-graph database, for the realtime web

Use Cases

Best For

  • Building applications that require multiple data models (document, graph, relational, time-series, geospatial) in a single database engine.
  • Developing real-time collaborative applications with live data synchronization and WebSocket connections.
  • Creating secure applications with granular, row-level permissions where clients connect directly to the database.
  • Implementing knowledge graphs or applications with advanced inter-document relationships and graph queries.
  • Deploying databases in embedded, edge, or browser environments via WebAssembly due to its single Rust binary.
  • Simplifying backend infrastructure by using a single system as both database and API service, reducing server-side components.

Not Ideal For

  • Legacy systems deeply reliant on specific SQL database extensions or proprietary features not supported by SurrealQL.
  • High-stakes enterprise applications where decades of proven reliability and extensive third-party tooling are non-negotiable.
  • Projects needing only simple key-value or document storage without real-time or multi-model requirements.
  • Organizations with strict open-source licensing policies that conflict with the BSL 1.1 license used for core code.

Pros & Cons

Pros

Unified Multi-Model Engine

SurrealDB natively supports document, graph, relational, time-series, geospatial, and key-value data in a single engine, as highlighted in the README's key features, eliminating the need to manage multiple specialized databases.

Built-in Real-time API

It functions as both a database and API backend with WebSocket connections and live queries, enabling direct client synchronization without custom server code, as described in the real-time collaborative API section.

Granular Row-Level Permissions

The database offers row-level access control with SurrealQL definitions, allowing precise data management for different users, demonstrated in the quick look example with PERMISSIONS clauses.

Flexible Deployment Options

SurrealDB can run embedded, in the browser via WebAssembly, on the edge, or in distributed clusters, thanks to being a single Rust binary, as shown in the installation and deployment sections.

Cons

GraphQL Support Incomplete

The README explicitly states GraphQL is 'coming soon,' meaning it's not yet fully available, which could hinder teams preferring GraphQL over SurrealQL or REST for querying.

New and Less Proven

As a relatively new project, SurrealDB lacks the maturity, extensive community support, and battle-tested reliability of established databases like PostgreSQL or MongoDB, potentially risking stability in critical production environments.

Complex Licensing for Core

Core database code is under BSL 1.1, which may impose usage restrictions in some commercial scenarios, unlike permissive open-source licenses, requiring careful legal review.

Frequently Asked Questions

Quick Stats

Stars32,995
Forks1,357
Contributors0
Open Issues660
Last commit1 day ago
CreatedSince 2021

Tags

#database#document-database#distributed#serverless#api-backend#backend-as-a-service#cloud-database#embedded-database#web#graph-database#multi-model-database#database-as-a-service#rust#permissions#realtime-database#distributed-database

Built With

R
Rust

Links & Resources

Website

Included in

Apps101.5kRust56.6k
Auto-fetched 4 hours ago

Related Projects

Another Redis Desktop ManagerAnother Redis Desktop Manager

🚀🚀🚀A faster, better and more stable Redis desktop manager [GUI client], compatible with Linux, Windows, Mac.

Stars34,735
Forks2,716
Last commit18 days ago
QdrantQdrant

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

Stars34,431
Forks2,651
Last commit6 hours ago
RustFSRustFS

🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

Stars31,833
Forks1,422
Last commit6 hours ago
TursoTurso

A SQL database in Rust: SQLite-compatible, now also speaking Postgres (experimental). The LLVM of databases.

Stars24,203
Forks1,317
Last commit6 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub