surrealdb
by
surrealdb

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

View on GitHub ↗

Summary Information

Updated 53 minutes ago
Added to GitGenius on July 11th, 2024
Created on December 9th, 2021
Open Issues & Pull Requests: 698 (+0)
Number of forks: 1,298
Total Stargazers: 32,653 (+0)
Total Subscribers: 165 (+0)

Issue Activity (beta)

Issue API unavailable.

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 189.9 days
90th percentile: 637.2 days
Tracked items: 2,026

Most active contributors

Detailed Description

SurrealDB is a multi-model database engine written in Rust that unifies document, graph, relational, time-series, geospatial, and key-value data models within a single system. The project is designed to serve as both a traditional database and a backend-as-a-service platform, supporting end-user authentication and enabling developers to reduce infrastructure complexity by consolidating multiple data layers into one engine. The database can be deployed in multiple configurations, including as an embedded in-application library, through WebAssembly in browsers, at the edge, as a self-hosted single node, or as a distributed cluster in cloud environments.

The core query interface is SurrealQL, a SQL-like language that provides native access to all supported data models without requiring separate query languages or complex join operations. The system supports ACID transactions across multiple rows and tables, real-time collaborative capabilities through WebSocket connections, and granular row-level permissions-based access control. SurrealDB enables direct querying from client devices and web browsers, eliminating the need for traditional server-side API layers in many scenarios. The platform also supports multiple query interfaces including GraphQL, full-text search, vector search, and hybrid search capabilities alongside traditional SQL querying.

The repository shows active development with 32,613 stargazers as of the most recent tracking period. GitGenius activity data reveals concentrated contributor engagement, with Dhghomon leading at 3,733 tracked events, followed by tobiemh with 1,263 events and LucyEgan with 421 events. The most frequently tagged issues relate to the core SurrealDB system itself (281 items), SurrealQL language features (262 items), and Rust implementation details (203 items). The project maintains a median issue and pull request response latency of 0.0 hours, indicating rapid community engagement. Contributor overlap analysis shows connections to major projects including Microsoft's VSCode, the Rust language repository, and Microsoft's TypeScript project, suggesting the codebase attracts developers with systems programming and language implementation expertise.

Key architectural features include support for incrementally computed views for pre-computed analytics, embedded JavaScript functions for custom functionality, and Model Context Protocol server integration for LLM and AI-agent compatibility. The system handles both structured and unstructured data, supports record links and directed typed graph connections, and provides simple schema definition capabilities for both frontend and backend development. Real-time capabilities enable live queries and direct data change notifications to applications, while the distributed mode supports scaling to hundreds of nodes for high availability and scalability.

The project is licensed under the Business Source License 1.1 and maintains SDKs across multiple programming languages and platforms, with distribution through Docker, npm, PyPI, NuGet, and Packagist. The codebase is designed specifically for data-intensive applications including AI agent data layers, knowledge graphs, real-time recommendation engines, fraud detection systems, and embedded or edge computing scenarios where a single unified database can replace multiple specialized data stores.

surrealdb
by
surrealdbsurrealdb/surrealdb

Repository Details

Fetching additional details & charts...