vesoft-inc/nebula
Distributed graph storage and querying for GraphRAG and knowledge graphs
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
NebulaGraph is a distributed graph database written in C++. It separates query compute from storage, with distinct query, metadata, and storage roles. A client submits an nGQL query to the query layer, which coordinates work against the storage layer using graph metadata. Raft coordinates storage replicas and underpins strong data consistency; horizontal scale comes from distributing data and work across nodes.
The root CMakeLists.txt and cmake/ establish the build system, while conf/, docker/, and package/ cover configuration and delivery. The udf/ directory is visible, but it does not establish a supported plugin API or ABI. For application integration, nGQL is the concrete interface to evaluate first.
Key Capabilities & Differentiators
nGQL is OpenCypher-compatible and is the primary interface for querying relationships. Role-based access control governs access at the database layer, and graph analytics are part of the ecosystem to evaluate alongside transactional queries. OpenCypher compatibility is not a guarantee that an existing Cypher workload will run unchanged: test the operators, functions, and result semantics the application relies on.
For GraphRAG, NebulaGraph fits as the store for entities and relationships and as the query layer for retrieving connected context. Do not count on the database to provide document ingestion and chunking, embedding generation, vector retrieval, reranking, or LLM orchestration. Evaluate those components separately and define how the application combines their results with graph traversals.
Trade-offs & Limitations
Compared with keeping a graph on one server, NebulaGraph gives teams a way to distribute storage and query work and maintain replicated data. In return, operators must manage multiple services and diagnose performance across a network. Raft adds coordination to replicated writes, and traversals that span partitions can incur extra network work. Benchmark representative graph shapes, especially high-degree vertices and multi-hop queries, alongside write traffic and node-failure tests.
If the workload is mostly fixed joins over data already in a relational database, test that database first. If retrieval is mostly semantic similarity over text, a vector-first stack may be simpler. NebulaGraph is a stronger candidate when graph traversal is central and a single host is an operational limit. Apache-2.0 permits commercial self-hosting, but does not remove the cost of running a distributed system.
Hardware & Deployment Guide
Use the versioned 3.8.0 quick start for a Docker evaluation or follow the source-build workflow. The repository includes docker/, conf/, and package/, plus C++ build scaffolding under CMakeLists.txt and cmake/. A source build requires a suitable C++ toolchain and CMake; use the versioned install instructions for exact prerequisites. A cloud path on AWS is also available.
For self-hosting, plan persistent storage, inter-node networking, replica placement, monitoring, and recovery exercises. Size CPU and memory for query concurrency and traversal fan-out, and disk and network for graph data and replication. The supplied release sequence runs from v3.5.0 (May 2023) through v3.6.0 (August 2023) to v3.8.0 (May 2024), but does not establish feature changes or a safe upgrade path. Review version-specific notes and rehearse upgrades before production.
Teams that need multi-hop relationship retrieval over a growing knowledge graph, can operate replicated services, and want a graph data layer for GraphRAG, recommendations, or relationship analysis.
The workload is primarily text similarity search, fits comfortably on one host, or calls for a turnkey GraphRAG pipeline with ingestion, retrieval, and generation bundled together.
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| nebula ★ | 12.5k | +10 | C++ | Apache-2.0 | Distributed graph storage and querying for GraphRAG and knowledge graphs |
| FalkorDB | 10.6k | +16 | Rust | — | A GraphBLAS property-graph database for relationship-aware GraphRAG retrieval |
| manticoresearch | 12.1k | +8 | C++ | GPL-3.0 | C++ search database for real-time full-text, vector, and hybrid retrieval |
| cognee | 33.8k | +174 | Python | Apache-2.0 | Graph and vector retrieval for persistent agent memory across sessions |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/vesoft-inc/nebula.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about nebula
How does NebulaGraph fit into a GraphRAG application?
What hardware should we budget for?
Can we modify NebulaGraph and self-host it for a commercial service?
When is NebulaGraph preferable to a single-node graph database or a relational database?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy