GUN vs SurrealDB

GUN is a property graph database; SurrealDB is a multiple database. GUN (2014, Zlib OR MIT OR Apache-2.0, JavaScript) ranks #44 this month; SurrealDB (2022-07, BUSL-1.1, Rust) ranks #8.

Attribute GUN #44 ▼3 Growing SurrealDB #8 ▲1 Leader
At a glance
Rank #44#8
Score 48.965.8
GitHub stars 19.2k33.3k
Popularity 72.474.2
Activity 37.263.3
Community 34.766.7
Research —52.2
Fundamentals
Description An open-source, offline-first, decentralized graph database with real-time peer-to-peer synchronization. Uses a custom CRDT conflict resolution algorithm (HAM) for multi-master replication across browsers and servers.A multi-model database written in Rust that combines document, graph, and relational paradigms. Uses inter-document record links for graph traversals, with ACID transactions and row-level permissions.
Vendor GUNSurrealDB
Model Property GraphMultiple
Kind databasedatabase
Category EstablishedGrowing
First released 20142022-07
Status activeactive
License Zlib OR MIT OR Apache-2.0BUSL-1.1
Written in JavaScriptRust
Query languages Custom APISurrealQL, GraphQL, GQL
gdotv support nono

Feature scores — not surveyed for GUN

Feature GUNSurrealDB
Community & Business
Active development —✓
Commercial support —✓
Live community —0.75
Open Source —0.5
Pricing —✓
Trendiness —✓
Deployment
Containerization —✓
Work as dedicated instance —✓
Work as embedded —✓
Testing in-memory version —✓
Platform
Operating on Linux —✓
Operating on Windows —✓
SaaS offering —✓
Operations
Automatic updates —·
Client side caching —·
Data versioning support —✓
Live backups —·
Distribution
Cluster Re-balancing —✓
Data Distribution —✓
High-Availability —✓
Query Distribution —✓
Replication support —✓
Developer Experience
Data types defined —0.5
Logging/Auditing —✓
Object-Graph Mapper —✓
Reactive programming —✓
Documentation up-to-date —✓
Binary protocol —✓
CLI —✓
GUI —✓
Data Model
Multi-database —✓
Graph-native data —✓
REST API —✓
Query Language —✓
Transactions
Granular locking —·
Multiple isolation levels —0.5
Read committed transaction —✓
Transaction support —✓
Schema & Security
Constraints —✓
Schema support —✓
Secondary indexes —✓
Server side procedures —✓
Triggers —✓
Authentication —✓
Authorization —✓
Data encryption —0.5